commit 82a33bf89e782d93b0ba5bbffefb85a52db8e7b3
parent c82bd1d8cbab7f0a790dc839c525657da9981ab7
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 27 Aug 2016 15:03:54 +0200
fix callback of settings_dialog
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py
@@ -192,7 +192,7 @@ class QtPlugin(object):
if type(keystore) != self.keystore_class:
continue
tooltip = self.device + ' ' + (keystore.label or '')
- cb = lambda: self.show_settings_dialog(window, keystore)
+ cb = partial(self.show_settings_dialog, window, keystore)
button = StatusBarButton(QIcon(self.icon_unpaired), tooltip, cb)
button.icon_paired = self.icon_paired
button.icon_unpaired = self.icon_unpaired