DbManager: make Info sorted by setting name

This commit is contained in:
Doug Blank 2015-08-11 08:50:22 -04:00
parent be27f43978
commit b772d6e06a

View File

@ -123,7 +123,7 @@ class Information(ManagedWindow):
]
treeview = Gtk.TreeView()
model = ListModel(treeview, titles)
for key, value in data.items():
for key, value in sorted(data.items()):
model.add((key, str(value),), key)
s.add(treeview)
self.window.vbox.pack_start(s, True, True, 0)