beremiz

Parents 37f870528def
Children 50f2069a06b3
Fix non-destroyed dialog in 'OnOpenProject' if 'Cancel' selected
  • +1 -1
    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):