X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FLightApp%2FLightApp_SelectionMgr.cxx;h=cc4c573caa35fbbb736f42f16e471dfb9af19625;hb=aff8765b1aa57fbe9b0163341cde44799807b054;hp=5a520456a967217e531f3175f88e3456d0c1a3d1;hpb=5a7522a23dd83a48fd3ef216e0923ce351f3d810;p=modules%2Fgui.git diff --git a/src/LightApp/LightApp_SelectionMgr.cxx b/src/LightApp/LightApp_SelectionMgr.cxx index 5a520456a..cc4c573ca 100644 --- a/src/LightApp/LightApp_SelectionMgr.cxx +++ b/src/LightApp/LightApp_SelectionMgr.cxx @@ -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() ); }