commit a972a476bce083c55e9e64f48cb56f71d644df69
parent c367cd64ad6d7f44845ab5e47546a7b054addefe
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 20 Aug 2016 18:21:20 +0200
fix trezor dialog
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py
@@ -350,10 +350,9 @@ class SettingsDialog(WindowModalDialog):
devmgr = plugin.device_manager()
config = devmgr.config
wallet = window.wallet
+ keystore = wallet.keystore
handler = keystore.handler
thread = keystore.thread
- # wallet can be None, needn't be window.wallet
- keystore = devmgr.wallet_by_id(device_id)
hs_rows, hs_cols = (64, 128)
def invoke_client(method, *args, **kw_args):