Commit 0922b509 authored by Remi Perenon's avatar Remi Perenon
Browse files

Merge branch 'release-1.3.x' into 'develop'

parents 2b5f9cae b40a953c
Pipeline #6819 failed with stages
in 32 minutes and 14 seconds
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
......
......@@ -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):
......
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