equal
deleted
inserted
replaced
896 self._init_beremiz_sizers() |
896 self._init_beremiz_sizers() |
897 |
897 |
898 def OnCloseFrame(self, event): |
898 def OnCloseFrame(self, event): |
899 global frame |
899 global frame |
900 |
900 |
901 frame.Hide() |
901 if self.CheckSaveBeforeClosing(_("Close Application")): |
902 |
902 |
903 self.PluginRoot.ResetAppFrame(lpcberemiz_cmd.Log) |
903 frame.Hide() |
904 if self.PluginRoot.OnlineMode == 0: |
904 |
905 self.PluginRoot._connector = None |
905 self.PluginRoot.ResetAppFrame(lpcberemiz_cmd.Log) |
906 |
906 if self.PluginRoot.OnlineMode == 0: |
907 self.PluginRoot.KillDebugThread() |
907 self.PluginRoot._connector = None |
908 self.KillLocalRuntime() |
908 |
909 |
909 self.PluginRoot.KillDebugThread() |
910 lpcberemiz_cmd.Log.write("Closed\n") |
910 self.KillLocalRuntime() |
911 |
911 |
|
912 lpcberemiz_cmd.Log.write("Closed\n") |
|
913 |
912 event.Veto() |
914 event.Veto() |
913 |
915 |
914 def ShowProperties(self): |
916 def ShowProperties(self): |
915 old_values = self.Controler.GetProjectProperties() |
917 old_values = self.Controler.GetProjectProperties() |
916 dialog = ProjectDialog(self ,False) |
918 dialog = ProjectDialog(self ,False) |