From 7d26e524fb435741aa6a53e0bf995bf6610b3e26 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 16 Jun 2006 08:22:17 +0000 Subject: [PATCH] PAL12611: Multi-selection of the same object (via references). Only really different objects are taken into account now. --- src/LightApp/LightApp_SelectionMgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_SelectionMgr.cxx b/src/LightApp/LightApp_SelectionMgr.cxx index 6d8fb6d44..0a5f0aaaf 100644 --- a/src/LightApp/LightApp_SelectionMgr.cxx +++ b/src/LightApp/LightApp_SelectionMgr.cxx @@ -87,7 +87,7 @@ void LightApp_SelectionMgr::selectedObjects( SALOME_ListIO& theList, const QStri entry = owner->entry(); if ( convertReferences ) { QString refEntry = study->referencedToEntry( entry ); - if( !entryMap.contains( entry ) ) { + if ( !entryMap.contains( entry ) && !entryMap.contains( refEntry ) ) { if ( refEntry != entry ) { QString component = study->componentDataType( refEntry ); theList.Append( new SALOME_InteractiveObject( refEntry, component, ""/*refobj->Name().c_str()*/ ) ); -- 2.39.2