From: ThomasV Date: Sat, 12 Jul 2014 17:41:57 +0000 (+0200) Subject: wizard restore: abort if wallet is None X-Git-Url: https://git.novaco.in/?p=electrum-nvc.git;a=commitdiff_plain;h=448d2eb548f19669dbdd71d1e96b74d62b0f8d06 wizard restore: abort if wallet is None --- diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 06f7190..2b074f8 100644 --- 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)