commit 7dd78e37688a4d510010d55e98d8d09961857da4
parent 204d7507d66c1e504ace14ae75d6e2680a87b945
Author: ThomasV <thomasv@gitorious>
Date: Mon, 28 Apr 2014 15:27:28 +0200
sort accounts
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -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: