Commit 83c6937e authored by eric pellegrini's avatar eric pellegrini

bug fix (windows) when adding a user definition in the job plugin: the panel...

bug fix (windows) when adding a user definition in the job plugin: the panel was not updating properly
parent 523ebb39
......@@ -92,6 +92,7 @@ class AtomSelectionWidget(UserDefinitionWidget):
self._sizer.Add(panel,1,wx.ALL|wx.EXPAND,5)
self._widgetPanel.GrandParent.Layout()
self._widgetPanel.GrandParent.Refresh()
self.Bind(wx.EVT_BUTTON, self.on_view_definition, view)
self.Bind(wx.EVT_BUTTON, self.on_remove_definition, remove)
......
......@@ -66,7 +66,8 @@ class AtomTransmutationWidget(AtomSelectionWidget):
self._sizer.Add(panel,1,wx.ALL|wx.EXPAND,5)
self._widgetPanel.GrandParent.Layout()
self._widgetPanel.GrandParent.Refresh()
self.Bind(wx.EVT_BUTTON, self.on_view_definition, view)
self.Bind(wx.EVT_BUTTON, self.on_remove_definition, remove)
......
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