twizard restore: abort if wallet is None - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 448d2eb548f19669dbdd71d1e96b74d62b0f8d06
 (DIR) parent 81d1e67253c8ca581e821a6cd9e5ee1502fffd08
 (HTM) Author: ThomasV <thomasv@gitorious>
       Date:   Sat, 12 Jul 2014 19:41:57 +0200
       
       wizard restore: abort if wallet is None
       
       Diffstat:
         M gui/qt/installwizard.py             |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
       t@@ -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)