From 0ceb7181d637cdee43e86df56b755e01eba9e414 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 26 Aug 2016 15:56:32 +0200 Subject: [PATCH] treor: better tooltips --- plugins/trezor/qt_generic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py index b2ee7e67d..873b8969d 100644 --- a/plugins/trezor/qt_generic.py +++ b/plugins/trezor/qt_generic.py @@ -193,7 +193,8 @@ def qt_plugin_class(base_plugin_class): for keystore in wallet.get_keystores(): if type(keystore) != self.keystore_class: continue - button = StatusBarButton(QIcon(self.icon_file), self.device, + tooltip = self.device + ' ' + keystore.label + button = StatusBarButton(QIcon(self.icon_file), tooltip, partial(self.settings_dialog, window, keystore)) window.statusBar().addPermanentWidget(button) keystore.handler = self.create_handler(window)