Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MDANSE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Scientific Software
MDANSE
Merge requests
!48
Hotfix error when closing gui
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hotfix error when closing gui
hotfix-error_when_closing_gui
into
release-1.3.x
Overview
0
Commits
2
Pipelines
1
Changes
2
Merged
Remi Perenon
requested to merge
hotfix-error_when_closing_gui
into
release-1.3.x
6 years ago
Overview
0
Commits
2
Pipelines
1
Changes
2
Expand
See issue
#46 (closed)
0
0
Merge request reports
Compare
release-1.3.x
release-1.3.x (base)
and
latest version
latest version
19f49635
2 commits,
6 years ago
2 files
+
10
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Src/GUI/Plugins/JobPlugin.py
+
6
−
3
Options
@@ -151,9 +151,12 @@ class JobPlugin(ComponentPlugin):
@@ -151,9 +151,12 @@ class JobPlugin(ComponentPlugin):
PUBLISHER
.
sendMessage
(
"
msg_set_data
"
,
message
=
self
)
PUBLISHER
.
sendMessage
(
"
msg_set_data
"
,
message
=
self
)
def
on_close
(
self
,
event
):
def
on_close
(
self
,
event
):
try
:
self
.
parent
.
mgr
.
ClosePane
(
self
.
parent
.
mgr
.
GetPane
(
self
))
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
):
class
JobFrame
(
wx
.
Frame
):
def
__init__
(
self
,
parent
,
jobType
,
datakey
=
None
):
def
__init__
(
self
,
parent
,
jobType
,
datakey
=
None
):
Loading