Salome HOME
PAL10332 - references are interpreted as original objects in filters, dialogs, etc.
authorasl <asl@opencascade.com>
Tue, 25 Oct 2005 08:22:00 +0000 (08:22 +0000)
committerasl <asl@opencascade.com>
Tue, 25 Oct 2005 08:22:00 +0000 (08:22 +0000)
src/SUPERVGUI/SUPERVGUI.cxx

index 3a7d810cb1f4a58fef5e6e2ca17ce1a000901fb4..5aaeb3de09c8229e793e6db8259384bf13b24d43 100644 (file)
@@ -837,7 +837,7 @@ void SUPERVGUI::whatIsSelected(const _PTR(SObject)& theObj, bool& theIsOwner, bo
 void SUPERVGUI::deleteObject() {
   SALOME_ListIO aList;
   aList.Clear();
-  (( SalomeApp_Application* )application())->selectionMgr()->selectedObjects( aList );
+  (( SalomeApp_Application* )application())->selectionMgr()->selectedObjects( aList, QString::null, false );
   if ( aList.Extent() == 0 ) return;
 
   // sak : 24.11.04 : fix for PAL6899 : if the study is locked - warn the user and return.