From 0e57fc74416cbac7bb1898edec8d8706cfdb3151 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 2 Sep 2005 08:18:36 +0000 Subject: [PATCH] Fix for the problem: regression: SMESH ? remove nodes/elements manually. --- src/SMESHGUI/SMESHGUI.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 345f756f8..02c825102 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -1170,8 +1170,13 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) } } } - SALOME_ListIO l1; - aSel->setSelectedObjects( l1 ); + + if (anAction == SMESH::eErase) { + SALOME_ListIO l1; + aSel->setSelectedObjects( l1 ); + } + else + aSel->setSelectedObjects( selected ); break; } -- 2.39.2