Salome HOME
clear dependencies should be launched before creation of new dependencies
[modules/smesh.git] / src / SMESH_I / SMESH_Hypothesis_i.cxx
index 8133237dbc99510cf1f4d3b24fca13fc1a1ecd9b..e4f3a43c24c1246c5b52ee5902fd56632c1728e9 100644 (file)
@@ -176,9 +176,9 @@ CORBA::Boolean SMESH_Hypothesis_i::IsValid()
  *
  */
 //=============================================================================
-//void SMESH_Hypothesis_i::SetParameters(const char* theParameters)
 void SMESH_Hypothesis_i::SetParameters( SALOME::Notebook_ptr theNotebook, const SALOME::StringArray& theParameters )
 {
+  theNotebook->ClearDependencies( _this(), SALOME::Parameters );
   std::list<std::string> aParams;
   int n = theParameters.length();
   for( int i=0; i<n; i++ )