From: san Date: Thu, 20 Jan 2005 14:23:35 +0000 (+0000) Subject: PAL7529 X-Git-Tag: V2_2_0b2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0937de45df90a04388a2e101c956c0a4ea750c3;p=modules%2Fgeom.git PAL7529 --- diff --git a/src/GEOMBase/GEOMBase_Skeleton.cxx b/src/GEOMBase/GEOMBase_Skeleton.cxx index 5d2c7fb53..7ab20a236 100644 --- a/src/GEOMBase/GEOMBase_Skeleton.cxx +++ b/src/GEOMBase/GEOMBase_Skeleton.cxx @@ -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. */ diff --git a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx index cc1fb4f54..1e185d107 100755 --- a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx +++ b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx @@ -385,6 +385,7 @@ void RepairGUI_ShapeProcessDlg::selectionChanged() //================================================================================= void RepairGUI_ShapeProcessDlg::selectClicked() { + myEditCurrentArgument = mySelectWdgt->LineEdit1; mySelectWdgt->LineEdit1->setFocus(); selectionChanged(); }