From b0937de45df90a04388a2e101c956c0a4ea750c3 Mon Sep 17 00:00:00 2001 From: san Date: Thu, 20 Jan 2005 14:23:35 +0000 Subject: [PATCH] PAL7529 --- src/GEOMBase/GEOMBase_Skeleton.cxx | 3 +++ src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx | 1 + 2 files changed, 4 insertions(+) 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(); } -- 2.39.2