Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
949bcbc7
Commit
949bcbc7
authored
Jun 27, 2018
by
Remi Perenon
Browse files
Fixed User Definition issue (issue
#19
)
parent
e6cdd6bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
MDANSE/GUI/UserDefinitionViewer.py
View file @
949bcbc7
...
...
@@ -140,7 +140,9 @@ class UserDefinitionViewer(wx.Dialog):
while
item
!=
self
.
_root
:
item
=
self
.
_tree
.
GetItemParent
(
item
)
self
.
_tree
.
Expand
(
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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment