From: asl Date: Tue, 25 Oct 2005 08:20:46 +0000 (+0000) Subject: PAL10332 - references are interpreted as original objects in filters, dialogs, etc. X-Git-Tag: BR-D5-38-2003_D2005-27-10~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9865a4771c48842c206fe76420e6901891b115b8;p=modules%2Fvisu.git PAL10332 - references are interpreted as original objects in filters, dialogs, etc. --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 507c1e0c..94d4ad9a 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -1117,7 +1117,7 @@ OnDeleteObjects() SALOME_ListIO aList; SalomeApp_SelectionMgr* mgr = GetSelectionMgr(this); - mgr->selectedObjects(aList); + mgr->selectedObjects(aList,QString::null,false); int i = 0, nbSelected = aList.Extent(); if (nbSelected < 1) return; diff --git a/src/VISUGUI/VisuGUI_PopupTools.cxx b/src/VISUGUI/VisuGUI_PopupTools.cxx index e0f55458..3aceb478 100644 --- a/src/VISUGUI/VisuGUI_PopupTools.cxx +++ b/src/VISUGUI/VisuGUI_PopupTools.cxx @@ -46,7 +46,7 @@ QtxValue VisuGUI_Selection::param( const int ind, const QString& p ) const else if ( p == "nbTimeStamps" ) val = QtxValue( nbTimeStamps( ind ) ); else if ( p == "nbChildren" ) val = QtxValue( nbChildren( ind ) ); else if ( p == "nbNamedChildren") val = QtxValue( nbNamedChildren( ind ) ); - else if ( p == "isVisible" ) val = QtxValue( isVisible( ind ) ); +// else if ( p == "isVisible" ) val = QtxValue( isVisible( ind ) ); else if ( p == "isShrunk" ) val = QtxValue( isShrunk( ind ) ); else if ( p == "hasActor" ) val = QtxValue( hasActor( ind ) ); }