From: dmv Date: Wed, 19 Nov 2008 14:53:49 +0000 (+0000) Subject: Modification, Transformation. IDs of elements are missing, if selection with rectange... X-Git-Tag: V5_1_0rc2~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=15c63b438579fe4bc31c0bf23a00582a95318dcb;p=modules%2Fsmesh.git Modification, Transformation. IDs of elements are missing, if selection with rectange is used. --- diff --git a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx index b76cfa308..d187afae3 100644 --- a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx @@ -651,10 +651,10 @@ void SMESHGUI_RotationDlg::SelectionIntoArgument() myBusy = true; if (myEditCurrentArgument == (QWidget*)LineEditElements) { - LineEditElements->setEnabled(true); LineEditElements->setText(aString); LineEditElements->repaint(); - LineEditElements->setEnabled(false); + LineEditElements->setEnabled(false); // to update lineedit IPAL 19809 + LineEditElements->setEnabled(true); setNewMeshName(); } myBusy = false; diff --git a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx index 4f8711a04..2c60566c5 100644 --- a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx @@ -583,10 +583,10 @@ void SMESHGUI_SmoothingDlg::SelectionIntoArgument() return; myBusy = true; - LineEditElements->setEnabled(true); LineEditElements->setText(aString); LineEditElements->repaint(); - LineEditElements->setEnabled(false); + LineEditElements->setEnabled(false); // to update lineedit IPAL 19809 + LineEditElements->setEnabled(true); myBusy = false; // OK diff --git a/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx b/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx index 932104d4d..ab7d407ae 100644 --- a/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx @@ -741,10 +741,10 @@ void SMESHGUI_SymmetryDlg::SelectionIntoArgument() myBusy = true; if (myEditCurrentArgument == (QWidget*)LineEditElements) { - LineEditElements->setEnabled(true); LineEditElements->setText(aString); LineEditElements->repaint(); - LineEditElements->setEnabled(false); + LineEditElements->setEnabled(false); // to update lineedit IPAL 19809 + LineEditElements->setEnabled(true); setNewMeshName(); } myBusy = false; diff --git a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx index a4859f5e4..8dc57f4e6 100644 --- a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx @@ -721,10 +721,10 @@ void SMESHGUI_TranslationDlg::SelectionIntoArgument() } if (myEditCurrentArgument == (QWidget*)LineEditElements) { - LineEditElements->setEnabled(true); LineEditElements->setText(aString); LineEditElements->repaint(); - LineEditElements->setEnabled(false); + LineEditElements->setEnabled(false); // to fully update lineedit IPAL 19809 + LineEditElements->setEnabled(true); setNewMeshName(); }