Commit 949bcbc7 authored by Remi Perenon's avatar Remi Perenon
Browse files

Fixed User Definition issue (issue #19)

parent e6cdd6bf
......@@ -140,6 +140,8 @@ class UserDefinitionViewer(wx.Dialog):
while item != self._root:
item = self._tree.GetItemParent(item)
# Check if item is not root (leading to crash otherwise)
if item != self._root:
self._tree.Expand(item)
def on_show_info(self, event=None):
......
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