1
0

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:
f321x
2026-01-08 09:53:41 +01:00
parent 2172dadf62
commit fb96ba41cd

View File

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