equal
deleted
inserted
replaced
1286 message.Destroy() |
1286 message.Destroy() |
1287 else: |
1287 else: |
1288 message = wx.MessageDialog(self, _("\"%s\" folder is not a valid Beremiz project\n")%projectpath, _("Error"), wx.OK|wx.ICON_ERROR) |
1288 message = wx.MessageDialog(self, _("\"%s\" folder is not a valid Beremiz project\n")%projectpath, _("Error"), wx.OK|wx.ICON_ERROR) |
1289 message.ShowModal() |
1289 message.ShowModal() |
1290 message.Destroy() |
1290 message.Destroy() |
1291 dialog.Destroy() |
1291 dialog.Destroy() |
1292 event.Skip() |
1292 event.Skip() |
1293 |
1293 |
1294 def OnCloseProjectMenu(self, event): |
1294 def OnCloseProjectMenu(self, event): |
1295 if self.PluginRoot is not None: |
1295 if self.PluginRoot is not None: |
1296 if self.PluginRoot.ProjectTestModified(): |
1296 if self.PluginRoot.ProjectTestModified(): |