From: ThomasV Date: Mon, 28 Apr 2014 13:27:28 +0000 (+0200) Subject: sort accounts X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=7dd78e37688a4d510010d55e98d8d09961857da4;p=electrum-nvc.git sort accounts --- diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 18c4b8f..65699d4 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: