From: dmv Date: Mon, 21 Jul 2008 12:31:44 +0000 (+0000) Subject: Bug IPAL19078 Error in Dump study/load script X-Git-Tag: V4_1_4a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04f364be624e748b69e9a60eb3ff1fa06b6fcd4e;p=modules%2Fgeom.git Bug IPAL19078 Error in Dump study/load script --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI.cxx b/src/GEOMToolsGUI/GEOMToolsGUI.cxx index 4718b3472..4cb3431b6 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI.cxx @@ -245,8 +245,8 @@ static bool inUse( _PTR(Study) study, const QString& component, const QMapGetDependency(); - if( list->length() <= 1 ) - continue; // ??? why 1? + if( list->length() == 0 ) + continue; for( int i = 0; i < list->length(); i++ ) { bool depends = false;