Removed unnecessary 'wx.CallAfter(self.Close)' upon close
authoretisserant
Thu, 28 Feb 2008 18:07:52 +0100
changeset 179 32f269883027
parent 178 a9035374eb05
child 180 3b0d3ea35ee5
Removed unnecessary 'wx.CallAfter(self.Close)' upon close
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Thu Feb 28 14:11:16 2008 +0100
+++ b/PLCOpenEditor.py	Thu Feb 28 18:07:52 2008 +0100
@@ -508,7 +508,6 @@
             elif answer == wx.ID_NO:
                 self.Controler.Reset()
                 self.AUIManager.UnInit()
-                wx.CallAfter(self.Close)
                 event.Skip()
             else:
                 event.Veto()