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
02a9a875
Commit
02a9a875
authored
May 21, 2019
by
Remi Perenon
Browse files
Debugging error message in converter, (but plugin does not close)
parent
cb84004a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/GUI/Plugins/JobPlugin.py
View file @
02a9a875
...
...
@@ -151,9 +151,12 @@ class JobPlugin(ComponentPlugin):
PUBLISHER
.
sendMessage
(
"msg_set_data"
,
message
=
self
)
def
on_close
(
self
,
event
):
self
.
parent
.
mgr
.
ClosePane
(
self
.
parent
.
mgr
.
GetPane
(
self
))
try
:
self
.
parent
.
mgr
.
ClosePane
(
self
.
parent
.
mgr
.
GetPane
(
self
))
except
AttributeError
:
# If the job is a converter, the parent has no mgr attribute
pass
class
JobFrame
(
wx
.
Frame
):
def
__init__
(
self
,
parent
,
jobType
,
datakey
=
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