From fcf65316bc887ef8a04b36b0fbd923ce00c60acd Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 3 Apr 2006 10:07:59 +0000 Subject: [PATCH] if selector is disabled, then it returns empty selection --- src/SUIT/SUIT_Selector.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } /*! -- 2.39.2