mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix status bar & sync on open
This commit is contained in:
parent
efae6f64d8
commit
e9ecde6433
2 changed files with 2 additions and 2 deletions
|
@ -1621,7 +1621,6 @@ day = :d""", d=yesterday)
|
|||
self.moveToState("initial")
|
||||
|
||||
def setSyncStatus(self, text, *args):
|
||||
self.setStatus(text, *args)
|
||||
self.mainWin.welcomeText.append("<font size=+2>" + text + "</font>")
|
||||
|
||||
def syncClockOff(self, diff):
|
||||
|
|
|
@ -110,7 +110,8 @@ class StatusView(object):
|
|||
self.timer.setText("00:00")
|
||||
self.addWidget(self.timer)
|
||||
self.redraw()
|
||||
self.timer.setShown(self.main.config['showTimer'])
|
||||
if not self.main.config['showTimer']:
|
||||
self.timer.setShown(False)
|
||||
|
||||
def addWidget(self, w, stretch=0):
|
||||
self.statusbar.addWidget(w, stretch)
|
||||
|
|
Loading…
Reference in a new issue