URI: 
       tRemove more duplicated code - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 7811b974e981c28fca3d5fa70282a11c0fa73a1e
   DIR parent d843e41884ba221b7ef701c453dae0aae85d958d
  HTML Author: Neil Booth <kyuupichan@gmail.com>
       Date:   Mon, 28 Dec 2015 22:20:45 +0900
       
       Remove more duplicated code
       
       Diffstat:
         M plugins/trezor/qt_generic.py        |      15 +--------------
       
       1 file changed, 1 insertion(+), 14 deletions(-)
       ---
   DIR diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py
       t@@ -125,6 +125,7 @@ class QtPlugin(TrezorPlugin):
            def installwizard_load_wallet(self, wallet, window):
                if type(wallet) != self.wallet_class:
                    return
       +        wallet.plugin = self
                self.load_wallet(wallet, window)
        
            @hook
       t@@ -159,20 +160,6 @@ class QtPlugin(TrezorPlugin):
                    menu.addAction(_("Show on %s") % self.device,
                                   lambda: self.show_address(addrs[0]))
        
       -    def show_address(self, address):
       -        self.wallet.check_proper_device()
       -        try:
       -            address_path = self.wallet.address_id(address)
       -            address_n = self.get_client().expand_path(address_path)
       -        except Exception, e:
       -            self.give_error(e)
       -        try:
       -            self.get_client().get_address('Bitcoin', address_n, True)
       -        except Exception, e:
       -            self.give_error(e)
       -        finally:
       -            self.handler.stop()
       -
            def settings_dialog(self, window):
        
                def rename():