LPCBeremiz.py
changeset 519 3a5faff52e5c
parent 517 6da1617a7645
child 521 02cb9e5fb6f6
--- a/LPCBeremiz.py	Tue Dec 15 15:35:02 2009 +0100
+++ b/LPCBeremiz.py	Tue Dec 15 15:39:39 2009 +0100
@@ -794,7 +794,7 @@
         self._init_beremiz_sizers()
 
     def OnCloseFrame(self, event):
-        global frame, lpcberemiz_cmd
+        global frame
         frame = None
         self.PluginRoot.ResetAppFrame(lpcberemiz_cmd.Log)
         if self.PluginRoot.OnlineMode == 0:
@@ -803,6 +803,8 @@
         self.PluginRoot.KillDebugThread()
         self.KillLocalRuntime()
         
+        print "Closed"
+        
         event.Skip()
 
     def ShowProperties(self):