1
0
This commit is contained in:
ThomasV
2015-04-20 10:33:32 +02:00
parent 50fed3dce5
commit 8251c5b6d9
3 changed files with 22 additions and 14 deletions

View File

@@ -160,8 +160,12 @@ class ElectrumGui:
return
wizard = installwizard.InstallWizard(self.config, self.network, storage)
wizard.show()
if action == 'new':
action, wallet_type = wizard.restore_or_create()
else:
wallet_type = None
try:
wallet = wizard.run(action)
wallet = wizard.run(action, wallet_type)
except BaseException as e:
traceback.print_exc(file=sys.stdout)
QMessageBox.information(None, _('Error'), str(e), _('OK'))