]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
if selector is disabled, then it returns empty selection
authorasl <asl@opencascade.com>
Mon, 3 Apr 2006 10:07:59 +0000 (10:07 +0000)
committerasl <asl@opencascade.com>
Mon, 3 Apr 2006 10:07:59 +0000 (10:07 +0000)
src/SUIT/SUIT_Selector.cxx

index 7b23bb9f9c66b47b78beaaddb14f30ddefc47c62..61cfb77e4b01cb7cdd5f392bda0a84e6031aab36 100755 (executable)
@@ -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 );
 }
 
 /*!