From: asl Date: Tue, 8 Dec 2009 12:54:26 +0000 (+0000) Subject: Change of id on expression change X-Git-Tag: PHASE_17_Part1_V3~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f92d9d75cf6fde891da5357181eb005993044424;p=modules%2Fkernel.git Change of id on expression change --- diff --git a/src/Notebook/SALOME_Parameter.cxx b/src/Notebook/SALOME_Parameter.cxx index 2e78b2285..09503b11e 100644 --- a/src/Notebook/SALOME_Parameter.cxx +++ b/src/Notebook/SALOME_Parameter.cxx @@ -51,7 +51,6 @@ SALOME_Parameter::SALOME_Parameter( SALOME_Notebook* theNotebook, const std::str SALOME_Parameter::SALOME_Parameter( SALOME_Notebook* theNotebook, const std::string& theName, const std::string& theData, bool isExpr ) : myNotebook( theNotebook ), myName( theName ), myIsAnonymous( false ), myIsCalculable( isExpr ) { - SetId(); if( isExpr ) InternalSetExpression( theData, false ); else @@ -368,6 +367,7 @@ void SALOME_Parameter::InternalSetExpression( const std::string& theExpr, bool i Update(); else Update( SALOME::Notebook::_nil() ); + SetId(); } catch( SALOME::ExpressionError anError ) {