]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Correction of merge mistake.
authorakl <akl@opencascade.com>
Tue, 5 Nov 2013 05:52:44 +0000 (05:52 +0000)
committerakl <akl@opencascade.com>
Tue, 5 Nov 2013 05:52:44 +0000 (05:52 +0000)
src/LightApp/LightApp_SelectionMgr.cxx

index dcdae22e0bd7b751601a3313cb833835428d85ec..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() ) && !owner->IO().IsNull() ) {
+        if ( !aSet.contains( owner->entry() ) ) {
          selList.append( owner->entry() );
          aSet.insert( owner->entry() );
        }