mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 18:30:36 +05:00
Fix pb with minimum and maximum values of the spin box
This commit is contained in:
parent
2983831a24
commit
4231cc0faa
@ -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 );
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user