From: vsr Date: Tue, 2 Sep 2008 07:28:00 +0000 (+0000) Subject: Fix pb with minimum and maximum values of the spin box X-Git-Tag: V5_1_0a1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4231cc0faa3caf474bdee1ce4b364f977aa54e67;p=modules%2Fgeom.git Fix pb with minimum and maximum values of the spin box --- 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 ); } //=================================================================================