--- a/LPCBeremiz.py Tue Feb 13 15:06:24 2018 +0100
+++ b/LPCBeremiz.py Tue Feb 13 15:14:31 2018 +0100
@@ -73,6 +73,11 @@
def OnCloseFrame(self, event):
+ Intercepts Close Frame event and veto it + Frame doesn't really close, but just hide. + Message is sent to Composer to signal app being closed. if self.CheckSaveBeforeClosing(_("Close Application")):
@@ -82,16 +87,6 @@
self.CTR.KillDebugThread()
- # close wxGlade if running
- config = wx.ConfigBase.Get()
- wxGladePid = str(config.Read("BeremizRoot.wxGlade"))
- os.kill(int(wxGladePid), signal.SIGTERM)
- config.Write("BeremizRoot.wxGlade", str(wxGladePid))
self.lpcberemiz_cmd_pipe.write("Closed\n")