]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Modification, Transformation. IDs of elements are missing, if selection with rectange...
authordmv <dmv@opencascade.com>
Wed, 19 Nov 2008 14:53:49 +0000 (14:53 +0000)
committerdmv <dmv@opencascade.com>
Wed, 19 Nov 2008 14:53:49 +0000 (14:53 +0000)
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx
src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx

index b76cfa308c5439f41e95cc171e7b205152efcd55..d187afae3536599149cc211ba29dc17b4ecebe74 100644 (file)
@@ -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;
index 4f8711a04e07ee25bcd2425b40e54cc55b873c4f..2c60566c5f6e8ad3c5ba0179ec6001d27d8df58f 100644 (file)
@@ -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
index 932104d4dc3e764cbe5a4f0251e3365df55fe4c5..ab7d407ae259f97d5f007951a51bfedb8aeeb384 100644 (file)
@@ -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;
index a4859f5e423813c6f8e51a66e21ff17bc56a765a..8dc57f4e627e518c1405e72d0e15769f15706d2a 100644 (file)
@@ -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();
   }