From ae32265e19f9c728652768549a771abaa65c2732 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 17 Oct 2005 06:33:25 +0000 Subject: [PATCH] Fix on Bug GVIEW10235 Previous selection re-appears with control actions It was necessary to call SVTK_Selector::ClearIndex() in onApply function --- src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx index 16529726e..cb7a017a0 100644 --- a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx @@ -262,6 +262,7 @@ void SMESHGUI_RemoveElementsDlg::ClickOnApply() if (aResult) { myEditCurrentArgument->clear(); + mySelector->ClearIndex(); SMESH::UpdateView(); } } -- 2.39.2