From: mzn Date: Thu, 29 Jun 2006 13:39:45 +0000 (+0000) Subject: Fix for PAL11028. X-Git-Tag: T3_2_1_pre~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=654e26d8595fdd7690c309922933978d2ff3d6b9;p=modules%2Fgeom.git Fix for PAL11028. --- 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; } } }