# HG changeset patch
# User b.taylor@willowglen.ca
# Date 1252947432 21600
# Node ID 53aa0c334f2f12a7a79be03923c1a124b86a7bad
# Parent  31c3dc45cfab6e8c4614b91233727a17b627f19d
fix a crash when closing the debug window from the menu

diff -r 31c3dc45cfab -r 53aa0c334f2f 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
 
 
 #-------------------------------------------------------------------------------