Beremiz.py
changeset 1088 43739c16a002
parent 1087 16cc3c42e413
child 1090 f4d08cea7774
equal deleted inserted replaced
1087:16cc3c42e413 1088:43739c16a002
   656             return notebook.GetPageIndex(confnode._OpenView(*page_infos[2:]))
   656             return notebook.GetPageIndex(confnode._OpenView(*page_infos[2:]))
   657         else:
   657         else:
   658             return IDEFrame.LoadTab(self, notebook, page_infos)
   658             return IDEFrame.LoadTab(self, notebook, page_infos)
   659     
   659     
   660     def OnCloseFrame(self, event):
   660     def OnCloseFrame(self, event):
   661         self.LogConsole.Unbind(wx.EVT_KILL_FOCUS, self.OnLogConsoleFocusChanged)
   661         self.LogConsole.Unbind(wx.EVT_KILL_FOCUS)
   662         self.LogConsole.Unbind(wx.stc.EVT_STC_UPDATEUI, self.OnLogConsoleUpdateUI)
   662         self.LogConsole.Unbind(wx.stc.EVT_STC_UPDATEUI)
   663         if self.CTR is None or self.CheckSaveBeforeClosing(_("Close Application")):
   663         if self.CTR is None or self.CheckSaveBeforeClosing(_("Close Application")):
   664             if self.CTR is not None:
   664             if self.CTR is not None:
   665                 self.CTR.KillDebugThread()
   665                 self.CTR.KillDebugThread()
   666             self.KillLocalRuntime()
   666             self.KillLocalRuntime()
   667             
   667