mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
catch upgradeRequired event
This commit is contained in:
parent
2a9c5c5229
commit
f6e79591ef
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ class SyncManager(QObject):
|
|||
m = _("Checking...")
|
||||
elif t == "findMedia":
|
||||
m = _("Syncing Media...")
|
||||
elif t == "upgradeRequired":
|
||||
showText(_("""\
|
||||
Please visit AnkiWeb, upgrade your deck, then try again."""))
|
||||
if m:
|
||||
self.label = m
|
||||
self._updateLabel()
|
||||
|
|
Loading…
Reference in a new issue