mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix some timers failing to fire
This commit is contained in:
parent
7df402b006
commit
623926e8f9
2 changed files with 3 additions and 2 deletions
|
@ -1316,7 +1316,8 @@ will be lost. Continue?"""))
|
||||||
def onAppMsg(self, buf):
|
def onAppMsg(self, buf):
|
||||||
if self.state == "startup":
|
if self.state == "startup":
|
||||||
# try again in a second
|
# try again in a second
|
||||||
return self.progress.timer(1000, lambda: self.onAppMsg(buf), False)
|
return self.progress.timer(1000, lambda: self.onAppMsg(buf), False,
|
||||||
|
requiresCollection=False)
|
||||||
elif self.state == "profileManager":
|
elif self.state == "profileManager":
|
||||||
# can't raise window while in profile manager
|
# can't raise window while in profile manager
|
||||||
if buf == "raise":
|
if buf == "raise":
|
||||||
|
|
|
@ -74,7 +74,7 @@ If you use any other devices, please sync them now, and choose \
|
||||||
to download the collection you have just uploaded from this computer. \
|
to download the collection you have just uploaded from this computer. \
|
||||||
After doing so, future reviews and added cards will be merged \
|
After doing so, future reviews and added cards will be merged \
|
||||||
automatically."""))
|
automatically."""))
|
||||||
self.mw.progress.timer(1000, delayedInfo, False)
|
self.mw.progress.timer(1000, delayedInfo, False, requiresCollection=False)
|
||||||
|
|
||||||
def _updateLabel(self):
|
def _updateLabel(self):
|
||||||
self.mw.progress.update(label="%s\n%s" % (
|
self.mw.progress.update(label="%s\n%s" % (
|
||||||
|
|
Loading…
Reference in a new issue