From: vsr Date: Thu, 23 Jun 2005 12:29:54 +0000 (+0000) Subject: For data objects other than SalomeApp_DataObject the filter should return true, other... X-Git-Tag: T3_0_0_a4~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc6c25dc1457c29f160f4970d952dd1d42b517f2;p=modules%2Fgui.git For data objects other than SalomeApp_DataObject the filter should return true, otherwise selection in Object Browser for such objects is not available --- diff --git a/src/SalomeApp/SalomeApp_OBFilter.cxx b/src/SalomeApp/SalomeApp_OBFilter.cxx index 3a9cbf47d..8ae0c9aff 100644 --- a/src/SalomeApp/SalomeApp_OBFilter.cxx +++ b/src/SalomeApp/SalomeApp_OBFilter.cxx @@ -19,6 +19,6 @@ bool SalomeApp_OBFilter::isOk( const SUIT_DataObject* theDataObj ) const if ( obj ) return mySelMgr->isOk( new SalomeApp_DataOwner( obj->entry() ) ); - return false; + return true; }