From 69c9472a5342475d81be29046e474fc902c8ac30 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 10 Dec 2009 13:31:55 +0000 Subject: [PATCH] temporary check on empty string: should be removed --- src/SalomeApp/SalomeApp_Notebook.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_Notebook.cxx b/src/SalomeApp/SalomeApp_Notebook.cxx index e15bcdba4..89356ca8b 100644 --- a/src/SalomeApp/SalomeApp_Notebook.cxx +++ b/src/SalomeApp/SalomeApp_Notebook.cxx @@ -271,7 +271,7 @@ void SalomeApp_Notebook::setParameters( SALOME::ParameterizedObject_ptr theObjec if( anIsValue ) aParameter = ""; - else if( !isParameter( aParameter ) ) + else if( aParameter.length() > 0 && !isParameter( aParameter ) ) myNotebook->AddExpression( aParameter.toLatin1().constData() ); aParams[i] = CORBA::string_dup( aParameter.toLatin1().constData() ); -- 2.39.2