URI: 
       tTrezor: multi-device window parenting fix - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 268dcbcac5a1e7ee650dad0849323f9546cd3459
   DIR parent 60be9d59bc5deb7316d22ee7282413786a307a6d
  HTML Author: Neil Booth <kyuupichan@gmail.com>
       Date:   Sun, 24 Jan 2016 23:18:41 +0900
       
       Trezor: multi-device window parenting fix
       
       Diffstat:
         M lib/plugins.py                      |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/plugins.py b/lib/plugins.py
       t@@ -374,6 +374,9 @@ class DeviceMgr(PrintError):
                    if info:
                        client = self.client_lookup(info.device.id_)
                        if client and not client.features.bootloader_mode:
       +                    # An unpaired client might have another wallet's handler
       +                    # from a prior scan.  Replace to fix dialog parenting.
       +                    client.handler = wallet.handler
                            # This will trigger a PIN/passphrase entry request
                            client_first_address = client.first_address(derivation)
                            if client_first_address == first_address: