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
9cc2c77a
Commit
9cc2c77a
authored
May 21, 2019
by
Remi Perenon
Browse files
Merge branch 'hotfix-error_when_closing_gui' into 'release-1.3.x'
Hotfix error when closing gui See merge request
!48
parents
cb84004a
19f49635
Pipeline
#5425
passed with stages
in 28 minutes and 37 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
9cc2c77a
version 1.3.1
--------------
* FIXED issue #46 There was an error message when closign converter plugins. The error is no more here but the converter still does not close.
version 1.3.0
--------------
* ADDED Neutron Dynamic Total Structure Factor analysis
...
...
Src/GUI/Plugins/JobPlugin.py
View file @
9cc2c77a
...
...
@@ -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