diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py index 00463a5ee..ebad20d07 100644 --- a/plugins/trezor/qt_generic.py +++ b/plugins/trezor/qt_generic.py @@ -349,11 +349,11 @@ class SettingsDialog(WindowModalDialog): devmgr = plugin.device_manager() config = devmgr.config - keystore = window.wallet.get_keystore() + wallet = window.wallet handler = keystore.handler thread = keystore.thread # wallet can be None, needn't be window.wallet - wallet = devmgr.wallet_by_id(device_id) + keystore = devmgr.wallet_by_id(device_id) hs_rows, hs_cols = (64, 128) def invoke_client(method, *args, **kw_args):