]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
21854: Add persistent dimensions
authorapl <apl@opencascade.com>
Wed, 22 Jan 2014 07:19:39 +0000 (07:19 +0000)
committerapl <apl@opencascade.com>
Wed, 22 Jan 2014 07:19:39 +0000 (07:19 +0000)
- Do not switch construction type tabs on "apply"

src/MeasureGUI/MeasureGUI_CreateDimensionDlg.cxx

index 160abfb68046742f48942dbf9e04e1e946fceed9..9787ef77bbd3cfdb162701061ee1c55f91671af5 100644 (file)
@@ -134,6 +134,8 @@ MeasureGUI_CreateDimensionDlg::MeasureGUI_CreateDimensionDlg( const GEOM::GeomOb
   myAngleArgs   ->setVisible( false );
   myLengthArgs  ->setVisible( true );
 
+  myRBGroup->button( TypeButtonID_Length )->click();
+
   Init();
 
   setHelpFileName("add_dimension_page.html");
@@ -453,8 +455,6 @@ void MeasureGUI_CreateDimensionDlg::Init()
   myDiameterArgs->Reset();
   myLengthArgs->Reset();
   myAngleArgs->Reset();
-
-  myRBGroup->button( TypeButtonID_Length )->click();
 }
 
 //=================================================================================