commit 0ceb7181d637cdee43e86df56b755e01eba9e414
parent a2fa26eb464e5e11879d0753431245e03cc1d2d2
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 26 Aug 2016 15:56:32 +0200
treor: better tooltips
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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)