smartxml: fix - do not clear redo stack if we are just performing undo operation
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / canvas.js
index d13e2ea..01cb14e 100644 (file)
@@ -39,7 +39,7 @@ $.extend(TextHandler.prototype, {
     },
     setText: function(text, node) {
         //this.canvas.wlxmlDocument.transform('setText', {node:node, text: text});
     },
     setText: function(text, node) {
         //this.canvas.wlxmlDocument.transform('setText', {node:node, text: text});
-        node.transform('smartxml.setText', {text: text});
+        node.setText(text);
 
     }
 
 
     }