sort accounts
This commit is contained in:
parent
204d7507d6
commit
7dd78e3768
|
@ -1192,7 +1192,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
l.setColumnWidth(i, width)
|
l.setColumnWidth(i, width)
|
||||||
|
|
||||||
if self.current_account is None:
|
if self.current_account is None:
|
||||||
account_items = self.wallet.accounts.items()
|
account_items = sorted(self.wallet.accounts.items())
|
||||||
elif self.current_account != -1:
|
elif self.current_account != -1:
|
||||||
account_items = [(self.current_account, self.wallet.accounts.get(self.current_account))]
|
account_items = [(self.current_account, self.wallet.accounts.get(self.current_account))]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue