From 15c63b438579fe4bc31c0bf23a00582a95318dcb Mon Sep 17 00:00:00 2001 From: dmv Date: Wed, 19 Nov 2008 14:53:49 +0000 Subject: [PATCH] Modification, Transformation. IDs of elements are missing, if selection with rectange is used. --- src/SMESHGUI/SMESHGUI_RotationDlg.cxx | 4 ++-- src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx | 4 ++-- src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx | 4 ++-- src/SMESHGUI/SMESHGUI_TranslationDlg.cxx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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(); } -- 2.39.2