gui: insert used addresses first
authorThomasV <thomasv@gitorious>
Thu, 9 Jan 2014 08:58:57 +0000 (09:58 +0100)
committerThomasV <thomasv@gitorious>
Thu, 9 Jan 2014 08:58:57 +0000 (09:58 +0100)
gui/qt/main_window.py

index b687d55..76c6f7f 100644 (file)
@@ -1307,7 +1307,7 @@ class ElectrumWindow(QMainWindow):
                         item.setBackgroundColor(1, QColor('red'))
                     if len(h) > 0 and c == -u:
                         if not used_flag:
-                            seq_item.addChild(used_item)
+                            seq_item.insertChild(0,used_item)
                             used_flag = True
                         used_item.addChild(item)
                     else: