diff -r 91b2ae63ea3d -r 9a9636e16d15 Beremiz.py --- a/Beremiz.py Tue Nov 08 22:01:39 2011 +0100 +++ b/Beremiz.py Tue Nov 08 22:04:07 2011 +0100 @@ -489,7 +489,7 @@ name = _("Beremiz") if self.PluginRoot is not None: projectname = self.PluginRoot.GetProjectName() - if self.PluginRoot.PlugTestModified(): + if self.PluginRoot.ProjectTestModified(): projectname = "~%s~" % projectname self.SetTitle("%s - %s" % (name, projectname)) else: @@ -615,7 +615,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, self.PluginRoot.PlugTestModified()) + self.FileMenu.Enable(wx.ID_SAVE, self.PluginRoot.ProjectTestModified()) self.FileMenu.Enable(wx.ID_SAVEAS, True) self.FileMenu.Enable(wx.ID_PROPERTIES, True) self.FileMenu.Enable(wx.ID_CLOSE_ALL, True)