Commit 4be5cd24 authored by eric pellegrini's avatar eric pellegrini

The user definitions are now sorted in the user definition viewer

parent 0290ac8a
......@@ -95,7 +95,7 @@ class UserDefinitionViewer(wx.Dialog):
def build_tree(self, node, data):
for k, v in data.items():
for k, v in sorted(data.items()):
dataItem = wx.TreeItemData(v)
subnode = self._tree.AppendItem(node, str(k), data=dataItem)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment