mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
follow-up prev: bad idea to eval translated string
This commit is contained in:
parent
b68729115a
commit
0e6160bf2d
1 changed files with 1 additions and 1 deletions
|
@ -2111,7 +2111,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||||
if len(mpk_list) > 1:
|
if len(mpk_list) > 1:
|
||||||
def label(key):
|
def label(key):
|
||||||
if isinstance(self.wallet, Multisig_Wallet):
|
if isinstance(self.wallet, Multisig_Wallet):
|
||||||
return f'{_("cosigner")} {key+1} ( keystore: {keystore_types[key]} )'
|
return _("cosigner") + f' {key+1} ( keystore: {keystore_types[key]} )'
|
||||||
return ''
|
return ''
|
||||||
labels = [label(i) for i in range(len(mpk_list))]
|
labels = [label(i) for i in range(len(mpk_list))]
|
||||||
on_click = lambda clayout: show_mpk(clayout.selected_index())
|
on_click = lambda clayout: show_mpk(clayout.selected_index())
|
||||||
|
|
Loading…
Add table
Reference in a new issue