From 04f364be624e748b69e9a60eb3ff1fa06b6fcd4e Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 21 Jul 2008 12:31:44 +0000 Subject: [PATCH] Bug IPAL19078 Error in Dump study/load script --- src/GEOMToolsGUI/GEOMToolsGUI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2