From a1c7974429ea4997ace60e2ad824af24b3980c84 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 22 Oct 2008 09:01:06 +0000 Subject: [PATCH] Correct behavior of spin boxes in "Chamfer" dialog box. --- src/OperationGUI/OperationGUI_ChamferDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OperationGUI/OperationGUI_ChamferDlg.cxx b/src/OperationGUI/OperationGUI_ChamferDlg.cxx index e5914d23d..810799c9f 100644 --- a/src/OperationGUI/OperationGUI_ChamferDlg.cxx +++ b/src/OperationGUI/OperationGUI_ChamferDlg.cxx @@ -220,9 +220,10 @@ OperationGUI_ChamferDlg::OperationGUI_ChamferDlg(GeometryGUI* theGeometryGUI, QW QMap< int, DlgRef_SpinBox* >::iterator anIter; for ( anIter = mySpinBox.begin(); anIter != mySpinBox.end(); ++anIter ) { - anIter.data()->RangeStepAndValidator( 0.001, COORD_MAX, SpecificStep, 3 ); if ( anIter.key() == SpinBox44 || anIter.key() == SpinBox34 || anIter.key() == SpinBox24 ) anIter.data()->RangeStepAndValidator( 0.001, 89.999, 5, 0 ); + else + anIter.data()->RangeStepAndValidator( 0.001, COORD_MAX, SpecificStep, DBL_DIGITS_DISPLAY ); } setHelpFileName("chamfer_operation_page.html");