fix some timers failing to fire

This commit is contained in:
Damien Elmes 2019-04-21 18:56:30 +10:00
parent 7df402b006
commit 623926e8f9
2 changed files with 3 additions and 2 deletions

View file

@ -1316,7 +1316,8 @@ will be lost. Continue?"""))
def onAppMsg(self, buf):
if self.state == "startup":
# 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":
# can't raise window while in profile manager
if buf == "raise":

View file

@ -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. \
After doing so, future reviews and added cards will be merged \
automatically."""))
self.mw.progress.timer(1000, delayedInfo, False)
self.mw.progress.timer(1000, delayedInfo, False, requiresCollection=False)
def _updateLabel(self):
self.mw.progress.update(label="%s\n%s" % (