mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix import error with 'raise'
This commit is contained in:
parent
0ace93e717
commit
ff71cabc2b
1 changed files with 3 additions and 0 deletions
|
@ -1032,6 +1032,9 @@ will be lost. Continue?"""))
|
|||
# try again in a second
|
||||
return self.progress.timer(1000, lambda: self.onAppMsg(buf), False)
|
||||
elif self.state == "profileManager":
|
||||
# can't raise window while in profile manager
|
||||
if buf == "raise":
|
||||
return
|
||||
self.pendingImport = buf
|
||||
return showInfo(_("Deck will be imported when a profile is opened."))
|
||||
if not self.interactiveState() or self.progress.busy():
|
||||
|
|
Loading…
Reference in a new issue