smartxml: fix - running custom undo was stopping node arguments refetching on redo
[fnpeditor.git] / src / smartxml / transformations.js
index a2a9f48..4a8e5a8 100644 (file)
@@ -79,6 +79,7 @@ toret.createGenericTransformation = function(desc, name) {
         undo: function() {
             if(desc.undo) {
                 desc.undo.call(this.context, this);
+                this.runCount++;
             } else {
                 this.document.getNodeByPath(this.changeRootPath).replaceWith(this.snapshot);
             }