commit 448d2eb548f19669dbdd71d1e96b74d62b0f8d06
parent 81d1e67253c8ca581e821a6cd9e5ee1502fffd08
Author: ThomasV <thomasv@gitorious>
Date: Sat, 12 Jul 2014 19:41:57 +0200
wizard restore: abort if wallet is None
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
@@ -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)