Salome HOME
Issue #3122: Move Measurement item to Inspection menu
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Recover.cpp
index bae08ab42a3bece6b30781e23ecec49bdceaf4e6..9082ea1684e52a6cc5d77e15f4de911fba3f2fa9 100644 (file)
@@ -46,7 +46,9 @@ void FeaturesPlugin_Recover::initAttributes()
   data()->addAttribute(METHOD(), ModelAPI_AttributeString::typeId());
   if (!string(METHOD())->isInitialized()) {
     myClearListOnTypeChange = false;
+    data()->blockSendAttributeUpdated(true, false);
     string(METHOD())->setValue(METHOD_DEFAULT());
+    data()->blockSendAttributeUpdated(false, false);
     myClearListOnTypeChange = true;
   }
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), METHOD());