From 4231cc0faa3caf474bdee1ce4b364f977aa54e67 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 2 Sep 2008 07:28:00 +0000 Subject: [PATCH] Fix pb with minimum and maximum values of the spin box --- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 88dc29012..218597fe2 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -1512,9 +1512,9 @@ void EntityGUI_SketcherDlg::initSpinBox( QDoubleSpinBox* spinBox, double min, double max, double step, int decimals ) { + spinBox->setDecimals( decimals ); spinBox->setRange( min, max ); spinBox->setSingleStep( step ); - spinBox->setDecimals( decimals ); } //=================================================================================