From: Thomas Galland Date: Thu, 21 Nov 2024 12:06:06 +0000 (+0100) Subject: [Keep?] restore condition to prenvent uncecessarily triggering selection X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fkw_145_unified_select;p=modules%2Fgui.git [Keep?] restore condition to prenvent uncecessarily triggering selection --- diff --git a/src/SUIT/SUIT_SelectionMgr.cxx b/src/SUIT/SUIT_SelectionMgr.cxx index 3e68c4221..7c80b6d10 100644 --- a/src/SUIT/SUIT_SelectionMgr.cxx +++ b/src/SUIT/SUIT_SelectionMgr.cxx @@ -172,7 +172,7 @@ void SUIT_SelectionMgr::selectionChanged( SUIT_Selector* sel ) for ( SelectorList::iterator it = mySelectors.begin(); it != mySelectors.end(); ++it ) { // Temporary action(to avoid selection of the objects which don't pass the filters): - //if ( *it != sel ) + if ( *it != sel ) (*it)->setSelected( newOwners ); } }