From: asl Date: Mon, 3 Apr 2006 10:07:59 +0000 (+0000) Subject: if selector is disabled, then it returns empty selection X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fcf65316bc887ef8a04b36b0fbd923ce00c60acd;p=modules%2Fgui.git if selector is disabled, then it returns empty selection --- diff --git a/src/SUIT/SUIT_Selector.cxx b/src/SUIT/SUIT_Selector.cxx index 7b23bb9f9..61cfb77e4 100755 --- a/src/SUIT/SUIT_Selector.cxx +++ b/src/SUIT/SUIT_Selector.cxx @@ -93,7 +93,8 @@ void SUIT_Selector::setAutoBlock( const bool on ) void SUIT_Selector::selected( SUIT_DataOwnerPtrList& lst ) const { lst.clear(); - getSelection( lst ); + if( isEnabled() ) + getSelection( lst ); } /*!