From 9865a4771c48842c206fe76420e6901891b115b8 Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 25 Oct 2005 08:20:46 +0000 Subject: [PATCH] PAL10332 - references are interpreted as original objects in filters, dialogs, etc. --- src/VISUGUI/VisuGUI.cxx | 2 +- src/VISUGUI/VisuGUI_PopupTools.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) ); } -- 2.39.2