]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/TPushParser.cc
This commit was manufactured by cvs2svn to create tag 'v0_0_3'.
[helm.git] / helm / DEVEL / mathml_editor / src / TPushParser.cc
index 7a8356f7d87ad01960afa9f1845643849fe44932..31b6e986728679a9b3485c7f78d557b85e9b5d83 100644 (file)
@@ -55,9 +55,10 @@ TPushParser::reset()
 {
   nextId = 1;
   if (cursor.parent()) cursor.remove();
+  cursor["val"] = "";
   doc.reset();
   doc.root().append(cursor);
-  if (factory) factory->documentModified(doc);
+  if (factory && !frozen()) factory->documentModified(doc);
 }
 
 TNode