From edca8dcdc424dd491b870da661652de75edc6784 Mon Sep 17 00:00:00 2001 From: srn Date: Wed, 29 Mar 2006 10:00:48 +0000 Subject: [PATCH] BugID: IPAL11948, added a call to setFocus in order to update the internal value of SpinBox control --- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 4506dfb25..4e021b2f3 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -676,6 +676,8 @@ void EntityGUI_SketcherDlg::ClickOnEnd() //================================================================================= bool EntityGUI_SketcherDlg::ClickOnApply() { + ((QPushButton*)sender())->setFocus(); + myCommand.append( GetNewCommand() ); mySketchState = NEXT_POINT; -- 2.39.2