author | laurent |
Thu, 10 Dec 2009 12:29:27 +0100 | |
changeset 499 | 15a63eba885f |
parent 496 | db09e417e342 |
child 500 | af7c28de4cc7 |
Beremiz.py | file | annotate | diff | comparison | revisions |
--- a/Beremiz.py Thu Dec 10 09:39:05 2009 +0100 +++ b/Beremiz.py Thu Dec 10 12:29:27 2009 +0100 @@ -563,7 +563,7 @@ self.FileMenu.Enable(wx.ID_PREVIEW, False) self.FileMenu.Enable(wx.ID_PRINT, False) self.FileMenu.Enable(wx.ID_PAGE_SETUP, True) - self.FileMenu.Enable(wx.ID_SAVE, True) + self.FileMenu.Enable(wx.ID_SAVE, self.PluginRoot.PlugTestModified()) self.FileMenu.Enable(wx.ID_SAVEAS, True) self.FileMenu.Enable(wx.ID_PROPERTIES, True) self.FileMenu.Enable(wx.ID_CLOSE_ALL, True)