wizard restore: abort if wallet is None

This commit is contained in:
ThomasV 2014-07-12 19:41:57 +02:00
parent 81d1e67253
commit 448d2eb548
1 changed files with 2 additions and 0 deletions

View File

@ -546,6 +546,8 @@ class InstallWizard(QDialog):
else:
wallet = run_hook('installwizard_restore', self, self.storage)
if not wallet:
return
# create first keys offline
self.waiting_dialog(wallet.synchronize)