treor: better tooltips

This commit is contained in:
ThomasV 2016-08-26 15:56:32 +02:00
parent a2fa26eb46
commit 0ceb7181d6
1 changed files with 2 additions and 1 deletions

View File

@ -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)