skip upgrade wizard when no decks available

This commit is contained in:
Damien Elmes 2012-01-30 06:54:16 +09:00
parent a87e55e977
commit d93259c960

View file

@ -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