Salome HOME
Merge with PAL/SALOME 2.1.0d
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI.cxx
index d47d1f88ca746ab5889dd35daecedd62137dc2b9..9be35edb9b801f92355a46c79d8bdaad3352dd35 100644 (file)
@@ -307,7 +307,7 @@ void GEOMToolsGUI::OnEditDelete()
         {
           GEOM::GEOM_Object_var aGeomObj = GEOM::GEOM_Object::_narrow( CSO->GetObject() );
           if ( !aGeomObj->_is_nil() )
-            GEOM_Displayer().Erase( aGeomObj );
+            GEOM_Displayer().Erase( aGeomObj, true );
         }
       }
     }
@@ -317,7 +317,7 @@ void GEOMToolsGUI::OnEditDelete()
     for ( int i = 0; i < nbSf; i++ )
     {
       QAD_StudyFrame* sf = QAD_Application::getDesktop()->getActiveStudy()->getStudyFrame( i );
-      GEOM_Displayer().Erase( IObject );
+      GEOM_Displayer().Erase( IObject, true );
     }
 
     /* Delete main shape in Client : */