Fixed windows only bug caused by recent changes
authorlaurent
Tue, 05 Jun 2012 22:11:13 +0200
changeset 759 8f6ed225f4d8
parent 758 699a7bad5a8c
child 761 7788545f4137
Fixed windows only bug caused by recent changes
Beremiz.py
--- a/Beremiz.py	Mon Jun 04 18:50:08 2012 +0200
+++ b/Beremiz.py	Tue Jun 05 22:11:13 2012 +0200
@@ -632,7 +632,6 @@
             MenuToolBar.EnableTool(wx.ID_SAVE, project_modified)
             self.FileMenu.Enable(wx.ID_SAVEAS, True)
             MenuToolBar.EnableTool(wx.ID_SAVEAS, True)
-            self.FileMenu.Enable(wx.ID_PROPERTIES, True)
             self.FileMenu.Enable(wx.ID_CLOSE_ALL, True)
         else:
             self.FileMenu.Enable(wx.ID_CLOSE, False)
@@ -644,7 +643,6 @@
             MenuToolBar.EnableTool(wx.ID_SAVE, False)
             self.FileMenu.Enable(wx.ID_SAVEAS, False)
             MenuToolBar.EnableTool(wx.ID_SAVEAS, False)
-            self.FileMenu.Enable(wx.ID_PROPERTIES, False)
             self.FileMenu.Enable(wx.ID_CLOSE_ALL, False)
     
     def RefreshRecentProjectsMenu(self):