mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix callback of settings_dialog
This commit is contained in:
parent
c82bd1d8cb
commit
82a33bf89e
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ class QtPlugin(object):
|
||||||
if type(keystore) != self.keystore_class:
|
if type(keystore) != self.keystore_class:
|
||||||
continue
|
continue
|
||||||
tooltip = self.device + ' ' + (keystore.label or '')
|
tooltip = self.device + ' ' + (keystore.label or '')
|
||||||
cb = lambda: self.show_settings_dialog(window, keystore)
|
cb = partial(self.show_settings_dialog, window, keystore)
|
||||||
button = StatusBarButton(QIcon(self.icon_unpaired), tooltip, cb)
|
button = StatusBarButton(QIcon(self.icon_unpaired), tooltip, cb)
|
||||||
button.icon_paired = self.icon_paired
|
button.icon_paired = self.icon_paired
|
||||||
button.icon_unpaired = self.icon_unpaired
|
button.icon_unpaired = self.icon_unpaired
|
||||||
|
|
Loading…
Add table
Reference in a new issue