sort accounts

This commit is contained in:
ThomasV 2014-04-28 15:27:28 +02:00
parent 204d7507d6
commit 7dd78e3768
1 changed files with 1 additions and 1 deletions

View File

@ -1192,7 +1192,7 @@ class ElectrumWindow(QMainWindow):
l.setColumnWidth(i, width)
if self.current_account is None:
account_items = self.wallet.accounts.items()
account_items = sorted(self.wallet.accounts.items())
elif self.current_account != -1:
account_items = [(self.current_account, self.wallet.accounts.get(self.current_account))]
else: