wizard restore hook
authorThomasV <thomasv@gitorious>
Thu, 10 Jul 2014 19:49:55 +0000 (21:49 +0200)
committerThomasV <thomasv@gitorious>
Thu, 10 Jul 2014 19:49:55 +0000 (21:49 +0200)
gui/qt/installwizard.py

index 550be34..5e03566 100644 (file)
@@ -545,8 +545,7 @@ class InstallWizard(QDialog):
                 wallet.create_accounts(password)
 
             else:
-                raise
-
+                 wallet = run_hook('installwizard_restore', self, self.storage)
 
             # create first keys offline
             self.waiting_dialog(wallet.synchronize)