From f92d9d75cf6fde891da5357181eb005993044424 Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 8 Dec 2009 12:54:26 +0000 Subject: [PATCH] Change of id on expression change --- src/Notebook/SALOME_Parameter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.2