Salome HOME
Hide "by general equation" case for plane creation
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetDoubleValue.cpp
index 0b5c4e681e8933da8ce7c8ef9ed67b56417d9281..20f5224844cb33ea30be3c603640086a5fcd8071 100644 (file)
@@ -115,7 +115,7 @@ bool ModuleBase_WidgetDoubleValue::storeValueCustom() const
   AttributeDoublePtr aReal = aData->real(attributeID());
   aReal->setValue(mySpinBox->value());
   std::string aTextRepr;
-  if (mySpinBox->hasVariables()) {
+  if (mySpinBox->hasVariable()) {
     aTextRepr = mySpinBox->text().toStdString();
   }
   aReal->setText(aTextRepr);