From c0000004c73c07d48ffe790c421d528d0c99d9a9 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 14 Jan 2008 10:26:58 +0000 Subject: [PATCH] IPAL 18536, 18538 --- src/BasicGUI/BasicGUI_CurveDlg.cxx | 2 ++ src/BasicGUI/BasicGUI_VectorDlg.cxx | 1 + 2 files changed, 3 insertions(+) diff --git a/src/BasicGUI/BasicGUI_CurveDlg.cxx b/src/BasicGUI/BasicGUI_CurveDlg.cxx index a28c91af5..49d8bf5cc 100644 --- a/src/BasicGUI/BasicGUI_CurveDlg.cxx +++ b/src/BasicGUI/BasicGUI_CurveDlg.cxx @@ -198,6 +198,8 @@ bool BasicGUI_CurveDlg::ClickOnApply() initName(); ConstructorsClicked( getConstructorId() ); + globalSelection(); // close local contexts, if any + localSelection(GEOM::GEOM_Object::_nil(), TopAbs_VERTEX); return true; } diff --git a/src/BasicGUI/BasicGUI_VectorDlg.cxx b/src/BasicGUI/BasicGUI_VectorDlg.cxx index e920eb6ce..f5bb3bb44 100644 --- a/src/BasicGUI/BasicGUI_VectorDlg.cxx +++ b/src/BasicGUI/BasicGUI_VectorDlg.cxx @@ -203,6 +203,7 @@ void BasicGUI_VectorDlg::ConstructorsClicked( int constructorId ) GroupPoints->hide(); resize( 0, 0 ); GroupDimensions->show(); + globalSelection(); // close local contexts, if any double dx( 0. ), dy( 0. ), dz( 0. ); GroupDimensions->SpinBox_DX->SetValue( dx );