DbManager: make Info sorted by setting name
This commit is contained in:
parent
be27f43978
commit
b772d6e06a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user