Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_EvalListener.cpp
index c485dffde44485fbd085cacdabdfb508d74361f6..cc299083317be073bda56b3ab5da4bda2d24feca 100644 (file)
@@ -250,6 +250,7 @@ void setParameterName(ResultParameterPtr theResultParameter, const std::string&
       std::dynamic_pointer_cast<ParametersPlugin_Parameter>(
           ModelAPI_Feature::feature(theResultParameter));
 
+  std::string anOldName = aParameter->name();
   aWasBlocked = aParameter->data()->blockSendAttributeUpdated(true);
   aParameter->data()->setName(theName);
   aParameter->string(ParametersPlugin_Parameter::VARIABLE_ID())->setValue(theName);