URI: 
       ttrezor: add "show address" option in addresses tab context menu for all trezors - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 52a4810752c37312aeb7cb4739b5462dfdde2c58
   DIR parent 93578d9be22720780616e06805241aa6935b5def
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Tue, 14 Aug 2018 15:02:31 +0200
       
       ttrezor: add "show address" option in addresses tab context menu for all trezors
       
       in case of a multisig wallet, with multiple trezors, previously only one of the trezors could be used
       
       Diffstat:
         M electrum/plugins/safe_t/qt.py       |       6 +++---
         M electrum/plugins/trezor/qt.py       |       6 +++---
       
       2 files changed, 6 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/electrum/plugins/safe_t/qt.py b/electrum/plugins/safe_t/qt.py
       t@@ -76,10 +76,10 @@ class QtPlugin(QtPluginBase):
                    return
                for keystore in wallet.get_keystores():
                    if type(keystore) == self.keystore_class:
       -                def show_address():
       +                def show_address(keystore=keystore):
                            keystore.thread.add(partial(self.show_address, wallet, addrs[0], keystore))
       -                menu.addAction(_("Show on {}").format(self.device), show_address)
       -                break
       +                device_name = "{} ({})".format(self.device, keystore.label)
       +                menu.addAction(_("Show on {}").format(device_name), show_address)
        
            def show_settings_dialog(self, window, keystore):
                device_id = self.choose_device(window, keystore)
   DIR diff --git a/electrum/plugins/trezor/qt.py b/electrum/plugins/trezor/qt.py
       t@@ -171,10 +171,10 @@ class QtPlugin(QtPluginBase):
                    return
                for keystore in wallet.get_keystores():
                    if type(keystore) == self.keystore_class:
       -                def show_address():
       +                def show_address(keystore=keystore):
                            keystore.thread.add(partial(self.show_address, wallet, addrs[0], keystore))
       -                menu.addAction(_("Show on {}").format(self.device), show_address)
       -                break
       +                device_name = "{} ({})".format(self.device, keystore.label)
       +                menu.addAction(_("Show on {}").format(device_name), show_address)
        
            def show_settings_dialog(self, window, keystore):
                device_id = self.choose_device(window, keystore)