21854: Add persistent dimensions

- Do not switch construction type tabs on "apply"
This commit is contained in:
apl 2014-01-22 07:19:39 +00:00
parent 7ae44206e9
commit 555088296a

View File

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