]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL 18536, 18538
authordmv <dmv@opencascade.com>
Mon, 14 Jan 2008 10:26:58 +0000 (10:26 +0000)
committerdmv <dmv@opencascade.com>
Mon, 14 Jan 2008 10:26:58 +0000 (10:26 +0000)
src/BasicGUI/BasicGUI_CurveDlg.cxx
src/BasicGUI/BasicGUI_VectorDlg.cxx

index a28c91af528df467c45ae13f8715a4576f3af8d6..49d8bf5cc928cf1261a9a726ce2984311390a69a 100644 (file)
@@ -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;
 }
 
index e920eb6cea59d476b8958938a8f46e831b1e7ca6..f5bb3bb449fd84ae5166212479b1423afbdb3489 100644 (file)
@@ -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 );