mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
skip upgrade wizard when no decks available
This commit is contained in:
parent
a87e55e977
commit
d93259c960
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ class Upgrader(object):
|
|||
######################################################################
|
||||
|
||||
def _showWizard(self):
|
||||
if not self.conf['recentDeckPaths']:
|
||||
# if there are no decks to upgrade, don't show wizard
|
||||
return
|
||||
class Wizard(QWizard):
|
||||
def reject(self):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue