commit 268dcbcac5a1e7ee650dad0849323f9546cd3459
parent 60be9d59bc5deb7316d22ee7282413786a307a6d
Author: Neil Booth <kyuupichan@gmail.com>
Date: Sun, 24 Jan 2016 23:18:41 +0900
Trezor: multi-device window parenting fix
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/plugins.py b/lib/plugins.py
@@ -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: