]> matita.cs.unibo.it Git - helm.git/commitdiff
The reset() method ignored the fact that the widget can be frozen. Fixed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 28 Apr 2003 17:13:39 +0000 (17:13 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 28 Apr 2003 17:13:39 +0000 (17:13 +0000)
helm/DEVEL/mathml_editor/src/TPushParser.cc

index 7a8356f7d87ad01960afa9f1845643849fe44932..1a477078503c6f489fb5093db7732aaf16ddf576 100644 (file)
@@ -57,7 +57,7 @@ TPushParser::reset()
   if (cursor.parent()) cursor.remove();
   doc.reset();
   doc.root().append(cursor);
-  if (factory) factory->documentModified(doc);
+  if (factory && !frozen()) factory->documentModified(doc);
 }
 
 TNode