fix a crash when closing the debug window from the menu
authorb.taylor@willowglen.ca
Mon, 14 Sep 2009 10:57:12 -0600
changeset 423 53aa0c334f2f
parent 422 31c3dc45cfab
child 424 d19c4a6460ab
fix a crash when closing the debug window from the menu
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Fri Sep 04 16:37:52 2009 -0600
+++ b/PLCOpenEditor.py	Mon Sep 14 10:57:12 2009 -0600
@@ -1184,7 +1184,8 @@
 
     def OnQuitMenu(self, event):
         self.Close()
-        event.Skip()
+        # don't call event.Skip() here or it will attempt to close the
+        # frame twice for some reason
 
 
 #-------------------------------------------------------------------------------