From d63732afe5abe280084e3af716182b1ff23a6e52 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 8 Dec 2009 09:07:19 +0000 Subject: [PATCH] Debug --- src/Notebook/SALOME_Notebook.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Notebook/SALOME_Notebook.cxx b/src/Notebook/SALOME_Notebook.cxx index 75863cad0..dccd3e9aa 100644 --- a/src/Notebook/SALOME_Notebook.cxx +++ b/src/Notebook/SALOME_Notebook.cxx @@ -200,7 +200,11 @@ void SALOME_Notebook::SetToUpdate( SALOME::ParameterizedObject_ptr theObj ) if( !CORBA::is_nil( aParam ) ) { std::string anEntry = aParam->GetEntry(); - SALOME_Parameter* aParamPtr = myParameters[anEntry]; + std::map< std::string, SALOME_Parameter* >::const_iterator pit = myParameters.find( anEntry ); + if( pit == myParameters.end() ) + return; + + SALOME_Parameter* aParamPtr = pit->second; std::string aKey = GetKey( anEntry ); ClearDependencies( aKey, SALOME::All ); AddDependencies( aParamPtr ); -- 2.39.2