Salome HOME
IPAL 0052196: TC7.3.0:runSalome --logger --modules=COMPONENT,CALCULATOR throw trace...
[modules/gui.git] / src / LightApp / LightApp_SelectionMgr.cxx
index 5a520456a967217e531f3175f88e3456d0c1a3d1..cc4c573caa35fbbb736f42f16e471dfb9af19625 100644 (file)
@@ -113,7 +113,7 @@ void LightApp_SelectionMgr::selectedObjects( SALOME_ListIO& theList, const QStri
        if ( !owner )
          continue;
 
-       if ( !aSet.contains( owner->entry() ) ) {
+       if ( !aSet.contains( owner->entry() ) && !owner->IO().IsNull() ) {
          selList.append( owner->IO() );
          aSet.insert( owner->entry() );
        }
@@ -209,7 +209,7 @@ void LightApp_SelectionMgr::selectedObjects( QStringList& theList, const QString
        if ( !owner )
          continue;
 
-       if ( !aSet.contains( owner->entry() ) ) {
+        if ( !aSet.contains( owner->entry() ) ) {
          selList.append( owner->entry() );
          aSet.insert( owner->entry() );
        }