Salome HOME
Call sendAttributeUpdated() after recalculation of Double, Point, Point2D expressions.
[modules/shaper.git] / src / Model / Model_AttributeDouble.cpp
index 6128aa892674f49bb26b58b2e20c283df525aaaa..009de2b8e5441a30a779dbf35bfd338a4aea0a70 100644 (file)
@@ -51,10 +51,9 @@ void Model_AttributeDouble::setText(const std::string& theValue)
   TCollection_ExtendedString aValue(theValue.c_str());
   if (myText->Get() != aValue) {
     myText->Set(aValue);
-    owner()->data()->sendAttributeUpdated(this);
-
     // Send it to evaluator to convert into the double and store in the attribute
     ModelAPI_AttributeEvalMessage::send(owner()->data()->attribute(id()), this);
+    owner()->data()->sendAttributeUpdated(this);
   }
 }