diff -r 8e61b0066859 -r 3a5faff52e5c LPCBeremiz.py --- 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):