From 7dd78e37688a4d510010d55e98d8d09961857da4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 28 Apr 2014 15:27:28 +0200 Subject: [PATCH] sort accounts --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 18c4b8f6..65699d46 100644 --- 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: