Salome HOME
Issue #2079 : Select parent feature for default Constructions. Disable popup menu...
[modules/shaper.git] / src / ModuleBase / ModuleBase_ParamSpinBox.cpp
index c8871269de0355c1c549386e69d179c92455f1d0..c42e163b84f8c9331a28347fc890ee8f5b4067fc 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <ModelAPI_Session.h>
 #include <ModelAPI_Document.h>
+#include <ModelAPI_Feature.h>
 #include <ModelAPI_ResultParameter.h>
 #include <ModelAPI_AttributeDouble.h>
 #include <ModelAPI_Tools.h>
@@ -90,6 +91,7 @@ void ModuleBase_ParamSpinBox::connectSignalsAndSlots()
 void ModuleBase_ParamSpinBox::onTextChanged(const QString& text)
 {
   myTextValue = text;
+  emit textChanged(text);
 }
 
 double ModuleBase_ParamSpinBox::valueFromText(const QString& theText) const