tfix callback of settings_dialog - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 82a33bf89e782d93b0ba5bbffefb85a52db8e7b3 DIR parent c82bd1d8cbab7f0a790dc839c525657da9981ab7 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 27 Aug 2016 15:03:54 +0200 fix callback of settings_dialog Diffstat: M plugins/trezor/qt_generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py t@@ -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