Salome HOME
Issue #1037 Time performance on a big model: do not perform validating for objects...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelectorStore.cpp
index 2bf5195ca425248bdd51eb0aeead072a96662fb7..08e6893876b50035d1522a1dca7ab904fefba609 100755 (executable)
@@ -85,7 +85,7 @@ void ModuleBase_WidgetSelectorStore::restoreAttributeValue(const AttributePtr& t
       aRefAttrListAttr->removeLast();
   }
   else {
-    ModuleBase_Tools::setObject(theAttribute, myObject, myShape, theWorkshop, true);
+    ModuleBase_Tools::setObject(theAttribute, myObject, myShape, theWorkshop, true, true);
     AttributeRefAttrPtr aRefAttr = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
     if (aRefAttr) {
       if (!myIsObject)