mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 08:50:34 +05:00
Fix IPAL18996(QT4 porting: crash creationg the fillet).
This commit is contained in:
parent
9e28536d26
commit
d6b1a6e8a4
@ -133,9 +133,10 @@ void GEOMBase_Skeleton::initSpinBox( QDoubleSpinBox* spinBox,
|
||||
double min, double max,
|
||||
double step, int decimals )
|
||||
{
|
||||
spinBox->setDecimals( decimals ); // it's necessary to set decimals before the range setting,
|
||||
// by default Qt rounds boundaries to 2 decimals at setRange
|
||||
spinBox->setRange( min, max );
|
||||
spinBox->setSingleStep( step );
|
||||
spinBox->setDecimals( decimals );
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user