Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetDoubleValue.cpp
index e131719f38398c3d28a93b714745811264e141aa..a17ea26c9793ee4a8c3acab86dc7f5df40b0646b 100644 (file)
@@ -118,7 +118,7 @@ bool ModuleBase_WidgetDoubleValue::storeValueCustom() const
   DataPtr aData = myFeature->data();
   AttributeDoublePtr aReal = aData->real(attributeID());
   aReal->setValue(mySpinBox->value());
-  std::string aTextRepr;
+  std::string aTextRepr = aReal->text();
   if (mySpinBox->hasVariable()) {
     aTextRepr = mySpinBox->text().toStdString();
   }