Salome HOME
PAL7529
authorsan <san@opencascade.com>
Thu, 20 Jan 2005 14:23:35 +0000 (14:23 +0000)
committersan <san@opencascade.com>
Thu, 20 Jan 2005 14:23:35 +0000 (14:23 +0000)
src/GEOMBase/GEOMBase_Skeleton.cxx
src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx

index 5d2c7fb530b6d301394d50daf27af17a177da4f2..7ab20a236dc08b526e1f33dd368dcaf96edbe4f5 100644 (file)
@@ -114,6 +114,9 @@ void GEOMBase_Skeleton::ClickOnCancel()
 //=================================================================================
 void GEOMBase_Skeleton::LineEditReturnPressed()
 {
+  if ( !myEditCurrentArgument )
+    return;
+
   /* User name of object input management                          */
   /* If successfull the selection is changed and signal emitted... */
   /* so SelectionIntoArgument() is automatically called.           */
index cc1fb4f5499657a416bdd2a63bd21cf78d8145db..1e185d107eb6290853e5be6ab3973c2952cecf88 100755 (executable)
@@ -385,6 +385,7 @@ void RepairGUI_ShapeProcessDlg::selectionChanged()
 //=================================================================================
 void RepairGUI_ShapeProcessDlg::selectClicked()
 {
+  myEditCurrentArgument = mySelectWdgt->LineEdit1;
   mySelectWdgt->LineEdit1->setFocus();
   selectionChanged();
 }