Commit 4fdbc77c authored by eric pellegrini's avatar eric pellegrini
Browse files

Bug fix when closing the Dialog

parent 949c966c
Pipeline #617 passed with stage
in 21 minutes and 20 seconds
......@@ -75,8 +75,6 @@ class UserDefinitionViewer(wx.Dialog):
self.Bind(wx.EVT_BUTTON, self.on_save_ud, self._save)
self.Bind(wx.EVT_CLOSE, self.on_close)
if ud is not None:
......@@ -248,10 +246,6 @@ class UserDefinitionViewer(wx.Dialog):
def on_close(self, event):
if __name__ == "__main__":
app = wx.App(False)
f = UserDefinitionViewer(None,ud=['','atom_selection',"sfdfdfsd"],editable=True)
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