Salome HOME
The selections of elements corrected.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MoveNodesDlg.cxx
index 12ad1b684ca5377ac5cddf34125814160fe21fac..f249535c87a3e4a6521ab88218941b9aa069233b 100644 (file)
@@ -355,8 +355,10 @@ void SMESHGUI_MoveNodesDlg::onTextChange (const QString& theNewText)
       if(const SMDS_MeshElement *anElem = aMesh->FindElement(theNewText.toInt())) {
        TColStd_MapOfInteger aListInd;
        aListInd.Add(anElem->GetID());
-       mySelector->AddOrRemoveIndex(anIO,aListInd, true);
+       mySelector->AddOrRemoveIndex(anIO,aListInd, false);
        myViewWindow->highlight(anIO,true,true);
+       
+       onSelectionDone();
       }
     }
   }