Salome HOME
Bugfix: treat attribute as valid and initialized if it's default value is equual...
[modules/shaper.git] / src / XGUI / XGUI_Workshop.cpp
index d91f4d98e759ccfa0493909f562e566e544df7f3..6aacc23e3fe327437035c39d8dff387c8686fe0a 100644 (file)
@@ -417,7 +417,7 @@ void XGUI_Workshop::onOperationStarted()
       //QObject::connect(aWidget, SIGNAL(valuesChanged()),  aOperation, SLOT(storeCustomValue()));
       QObject::connect(aWidget, SIGNAL(valuesChanged()), this, SLOT(onWidgetValuesChanged()));
       // Init default values
-      if (!aOperation->isEditOperation() && aWidget->hasDefaultValue()) {
+      if (!aOperation->isEditOperation()) {
         //aWidget->storeValue(aOperation->feature());
 
         aWidget->storeValue();