Fix pb with minimum and maximum values of the spin box

This commit is contained in:
vsr 2008-09-02 07:28:00 +00:00
parent 2983831a24
commit 4231cc0faa

View File

@ -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 );
}
//=================================================================================