URI: 
       trestore: call constructor to load plugin - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 179e98b303b9cf15cdd8c8ed1283aaf8132ef230
   DIR parent 5ffd26402e274ded65a8c81d2e13fd594844eb20
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 11 Jun 2015 09:56:38 +0200
       
       restore: call constructor to load plugin
       
       Diffstat:
         M gui/qt/installwizard.py             |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
       t@@ -451,9 +451,12 @@ class InstallWizard(QDialog):
                        wallet = Wallet.from_multisig(key_list, password, self.storage)
        
                    else:
       -                self.storage.put('wallet_type', t)
       +                self.storage.put('wallet_type', t, False)
       +                # call the constructor to load the plugin (side effect)
       +                Wallet(self.storage)
                        wallet = always_hook('installwizard_restore', self, self.storage)
                        if not wallet:
       +                    util.print_error("no wallet")
                            return
        
                    # create first keys offline