URI: 
       tsort contacts. fixes #920 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 343d45270668b49379aa1afbcbe61808c4fcc904
   DIR parent 782522fb7103ca4cac3d83a271f344f247ed73af
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 23 Apr 2015 12:50:22 +0200
       
       sort contacts. fixes #920
       
       Diffstat:
         M gui/qt/main_window.py               |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -1590,8 +1590,8 @@ class ElectrumWindow(QMainWindow):
                item = l.currentItem()
                current_key = item.data(0, Qt.UserRole).toString() if item else None
                l.clear()
       -        for key, v in self.contacts.items():
       -            _type, value = v
       +        for key in sorted(self.contacts.keys()):
       +            _type, value = self.contacts[key]
                    item = QTreeWidgetItem([key, value, _type])
                    item.setData(0, Qt.UserRole, key)
                    l.addTopLevelItem(item)