# HG changeset patch # User laurent # Date 1251794411 -7200 # Node ID 9ae15ab058f3c4e53e9da4707e5e0e39621b198c # Parent 37f870528def66d1353cd86b37d99909afcc3deb Fix non-destroyed dialog in 'OnOpenProject' if 'Cancel' selected diff -r 37f870528def -r 9ae15ab058f3 Beremiz.py --- a/Beremiz.py Thu Aug 27 12:47:40 2009 +0200 +++ b/Beremiz.py Tue Sep 01 10:40:11 2009 +0200 @@ -1288,7 +1288,7 @@ message = wx.MessageDialog(self, _("\"%s\" folder is not a valid Beremiz project\n")%projectpath, _("Error"), wx.OK|wx.ICON_ERROR) message.ShowModal() message.Destroy() - dialog.Destroy() + dialog.Destroy() event.Skip() def OnCloseProjectMenu(self, event):