From 654e26d8595fdd7690c309922933978d2ff3d6b9 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 29 Jun 2006 13:39:45 +0000 Subject: [PATCH] Fix for PAL11028. --- src/GEOMGUI/GEOMGUI_OCCSelector.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx index 0103a5919..3db11fd4e 100644 --- a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx +++ b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx @@ -39,6 +39,9 @@ #include #include +#include +#include + //================================================================ // Function : GEOMGUI_OCCSelector @@ -213,7 +216,10 @@ void GEOMGUI_OCCSelector::setSelection( const SUIT_DataOwnerPtrList& aList ) const LightApp_DataOwner* owner = dynamic_cast( (*itr).operator->() ); if ( owner ) { - globalSelMap[owner->entry()] = 1; + SalomeApp_Study* appStudy = dynamic_cast( SUIT_Session::session()->activeApplication()->activeStudy() ); + QString anEntry = appStudy->referencedToEntry( owner->entry() ); + + globalSelMap[anEntry] = 1; } } } -- 2.39.2