qt: WalletInfoDialog: sort keystores by root fingerprint
Sort the keystore tabs of the WalletInfoDialog by their root fingerprints. This makes it less confusing when looking at different wallet instances of the same multisig setup as the tabs will always have the same order.
This commit is contained in:
@@ -112,7 +112,7 @@ class WalletInfoDialog(WindowModalDialog):
|
||||
labels_clayout = None
|
||||
|
||||
if wallet.is_deterministic():
|
||||
keystores = wallet.get_keystores()
|
||||
keystores = sorted(wallet.get_keystores(), key=lambda _ks: _ks.get_root_fingerprint() or '')
|
||||
|
||||
self.keystore_tabs = QTabWidget()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user