sort accounts
authorThomasV <thomasv@gitorious>
Mon, 28 Apr 2014 13:27:28 +0000 (15:27 +0200)
committerThomasV <thomasv@gitorious>
Mon, 28 Apr 2014 13:27:28 +0000 (15:27 +0200)
gui/qt/main_window.py

index 18c4b8f..65699d4 100644 (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: