Adding support for Enable/Disable Undo/Redo
authorgreg
Mon, 04 May 2009 09:55:26 +0200
changeset 351 160ff73c0ac7
parent 350 f7958989e055
child 352 5cd60f7e510c
Adding support for Enable/Disable Undo/Redo
PLCControler.py
--- a/PLCControler.py	Mon May 04 09:35:47 2009 +0200
+++ b/PLCControler.py	Mon May 04 09:55:26 2009 +0200
@@ -2679,7 +2679,7 @@
                 xmlfile = open(self.FilePath,"w")
             xmlfile.write(text)
             xmlfile.close()
-            self.ProjectSaved()
+            self.MarkProjectAsSaved()
             if filepath:
                 self.SetFilePath(filepath)
             return True
@@ -2731,7 +2731,7 @@
             self.Project = self.Copy(self.Project)
             self.Buffering = False
 
-    def ProjectSaved(self):
+    def MarkProjectAsSaved(self):
         if self.ProjectBuffer is not None:
             self.ProjectBuffer.CurrentSaved()
         else: