From: dmv Date: Mon, 14 Jan 2008 14:14:53 +0000 (+0000) Subject: turn off local selection when it needs X-Git-Tag: V3_2_10~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=87dc7599e858c69283f1c6f0bc4761a5f38358e4;p=modules%2Fgeom.git turn off local selection when it needs --- diff --git a/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx index 9adcb3b9c..93335fb66 100644 --- a/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx +++ b/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx @@ -191,6 +191,7 @@ void PrimitiveGUI_BoxDlg::ConstructorsClicked(int constructorId) case 1: { GroupPoints->hide(); + globalSelection(); // close local contexts, if any resize(0, 0); GroupDimensions->show(); diff --git a/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx index 51bbf5494..eef654efa 100644 --- a/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx +++ b/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx @@ -205,6 +205,7 @@ void PrimitiveGUI_ConeDlg::ConstructorsClicked(int constructorId) case 1 : { GroupPoints->hide(); + globalSelection(); // close local contexts, if any resize( 0, 0 ); GroupDimensions->show(); diff --git a/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx index eef00b55a..b77e1f08d 100644 --- a/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx +++ b/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx @@ -198,6 +198,7 @@ void PrimitiveGUI_CylinderDlg::ConstructorsClicked(int constructorId) case 1 : { GroupPoints->hide(); + globalSelection(); // close local contexts, if any resize( 0, 0 ); GroupDimensions->show(); diff --git a/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx index 168bc650c..f1d4a1da6 100644 --- a/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx +++ b/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx @@ -173,6 +173,7 @@ void PrimitiveGUI_SphereDlg::ConstructorsClicked (int constructorId) case 1: { GroupPoints->hide(); + globalSelection(); // close local contexts, if any resize(0, 0); GroupDimensions->show(); diff --git a/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx index 157e0eb0e..87c747be7 100644 --- a/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx +++ b/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx @@ -199,6 +199,7 @@ void PrimitiveGUI_TorusDlg::ConstructorsClicked (int constructorId) case 1: { GroupPoints->hide(); + globalSelection(); // close local contexts, if any resize(0, 0); GroupDimensions->show();