From: apo Date: Mon, 17 Oct 2005 06:33:25 +0000 (+0000) Subject: Fix on Bug GVIEW10235 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ae32265e19f9c728652768549a771abaa65c2732;p=modules%2Fsmesh.git Fix on Bug GVIEW10235 Previous selection re-appears with control actions It was necessary to call SVTK_Selector::ClearIndex() in onApply function --- 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(); } }