diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index d8a0416d1..b3b02de46 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -1168,6 +1168,9 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) if (aSel) aSel->selectedObjects( sel_objects ); + if( theCommandID==302 ) + startOperation( myEraseAll ); + SALOME_ListIteratorOfListIO anIt( sel_objects ); for( ; anIt.More(); anIt.Next() ) {