Fix for bug IPAL19890(Qt4 porting. Default Presicion = 0. Mesh Algorithm Wire Discretisation, Hypothesis Average Length).

This commit is contained in:
mzn 2008-06-04 12:29:23 +00:00
parent aff9fbd71a
commit 4c544c9207

View File

@ -734,7 +734,7 @@ void StdMeshersGUI_StdHypothesisCreator::attuneStdWidget (QWidget* w, const int)
if (sb->objectName() == tr("SMESH_LOCAL_LENGTH_PARAM")) if (sb->objectName() == tr("SMESH_LOCAL_LENGTH_PARAM"))
sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 ); sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 );
else if (sb->objectName() == tr("SMESH_LOCAL_LENGTH_PRECISION")) else if (sb->objectName() == tr("SMESH_LOCAL_LENGTH_PRECISION"))
sb->RangeStepAndValidator( 0.0, 1.0, 0.05, 6 ); sb->RangeStepAndValidator( 0.0, 1.0, 0.05, 7 );
} }
else if( hypType()=="Arithmetic1D" && sb ) else if( hypType()=="Arithmetic1D" && sb )
{ {