From: dmv Date: Mon, 14 Jan 2008 10:26:58 +0000 (+0000) Subject: IPAL 18536, 18538 X-Git-Tag: for_M2008_07022008~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0000004c73c07d48ffe790c421d528d0c99d9a9;p=modules%2Fgeom.git IPAL 18536, 18538 --- 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 );