Bug closing project in Beremiz when closing tab in PLCOpenEditor fixed
authorlbessard
Fri, 05 Sep 2008 18:13:55 +0200
changeset 242 fc6d1988e4da
parent 241 3475e76e0672
child 243 90db933fe956
Bug closing project in Beremiz when closing tab in PLCOpenEditor fixed
Beremiz.py
--- a/Beremiz.py	Fri Sep 05 18:11:52 2008 +0200
+++ b/Beremiz.py	Fri Sep 05 18:13:55 2008 +0200
@@ -265,7 +265,7 @@
         self.Bind(wx.EVT_MENU, self.OnNewProjectMenu, id=wx.ID_NEW)
         self.Bind(wx.EVT_MENU, self.OnOpenProjectMenu, id=wx.ID_OPEN)
         self.Bind(wx.EVT_MENU, self.OnSaveProjectMenu, id=wx.ID_SAVE)
-        self.Bind(wx.EVT_MENU, self.OnCloseProjectMenu, id=wx.ID_CLOSE)
+        self.Bind(wx.EVT_MENU, self.OnCloseProjectMenu, id=wx.ID_CLOSE_ALL)
         self.Bind(wx.EVT_MENU, self.OnPropertiesMenu, id=wx.ID_PROPERTIES)
         self.Bind(wx.EVT_MENU, self.OnQuitMenu, id=wx.ID_EXIT)