commit 68e57bbaa7696244db016947eb33106a72948631
parent 85cc7b281bdd2bea791771de0c0f6000cff9f325
Author: Neil Booth <kyuupichan@gmail.com>
Date: Thu, 27 Aug 2015 11:01:49 +0900
Don't let the "send from list" sort itself
Order matters for correspondence of display position to internal list.
Fixes #1420.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -1017,6 +1017,7 @@ class ElectrumWindow(QMainWindow):
self.from_label = QLabel(_('From'))
grid.addWidget(self.from_label, 3, 0)
self.from_list = MyTreeWidget(self, self.from_list_menu, ['',''])
+ self.from_list.setSortingEnabled(False)
self.from_list.setHeaderHidden(True)
self.from_list.setMaximumHeight(80)
grid.addWidget(self.from_list, 3, 1, 1, 3)