ttrezor button should not be an attribute of window - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d946e9fa542220ec432a51e841a37a7197f60e99 DIR parent 3b830cbcfa2363febcc81d1eb7a1c392fb665277 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 23 Aug 2016 09:46:41 +0200 ttrezor button should not be an attribute of window Diffstat: M plugins/trezor/qt_generic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py t@@ -276,9 +276,9 @@ def qt_plugin_class(base_plugin_class): for keystore in wallet.get_keystores(): if type(keystore) != self.keystore_class: continue - window.tzb = StatusBarButton(QIcon(self.icon_file), self.device, - partial(self.settings_dialog, window)) - window.statusBar().addPermanentWidget(window.tzb) + button = StatusBarButton(QIcon(self.icon_file), self.device, + partial(self.settings_dialog, window)) + window.statusBar().addPermanentWidget(button) keystore.handler = self.create_handler(window) keystore.thread = TaskThread(window, window.on_error) # Trigger a pairing