]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix on Bug GVIEW10235
authorapo <apo@opencascade.com>
Mon, 17 Oct 2005 06:33:25 +0000 (06:33 +0000)
committerapo <apo@opencascade.com>
Mon, 17 Oct 2005 06:33:25 +0000 (06:33 +0000)
 Previous selection re-appears with control actions
It was necessary to call SVTK_Selector::ClearIndex() in onApply function

src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx

index 16529726e7d9342c6f2780ce67137bcb1d26b06e..cb7a017a0321ebe5f9aabe994b0055504fd48337 100644 (file)
@@ -262,6 +262,7 @@ void SMESHGUI_RemoveElementsDlg::ClickOnApply()
 
     if (aResult) {
       myEditCurrentArgument->clear();
+      mySelector->ClearIndex();
       SMESH::UpdateView();
     }
   }