Browse Source

treor: better tooltips

283
ThomasV 9 years ago
parent
commit
0ceb7181d6
  1. 3
      plugins/trezor/qt_generic.py

3
plugins/trezor/qt_generic.py

@ -193,7 +193,8 @@ def qt_plugin_class(base_plugin_class):
for keystore in wallet.get_keystores(): for keystore in wallet.get_keystores():
if type(keystore) != self.keystore_class: if type(keystore) != self.keystore_class:
continue 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)) partial(self.settings_dialog, window, keystore))
window.statusBar().addPermanentWidget(button) window.statusBar().addPermanentWidget(button)
keystore.handler = self.create_handler(window) keystore.handler = self.create_handler(window)

Loading…
Cancel
Save