0020580: EDF 1169 GEOM: float number precision in dialog boxes

Additional fix: change max limit for precision preferences to 14
This commit is contained in:
vsr 2010-06-04 13:56:39 +00:00
parent ac1375ea51
commit b97202e8c0

View File

@ -3861,8 +3861,8 @@ void SMESHGUI::createPreferences()
// Set property for precision value for spinboxes // Set property for precision value for spinboxes
for ( ii = 0; ii < nbQuantities; ii++ ){ for ( ii = 0; ii < nbQuantities; ii++ ){
setPreferenceProperty( precs[ii], "min", -10 ); setPreferenceProperty( precs[ii], "min", -14 );
setPreferenceProperty( precs[ii], "max", 10 ); setPreferenceProperty( precs[ii], "max", 14 );
setPreferenceProperty( precs[ii], "precision", 2 ); setPreferenceProperty( precs[ii], "precision", 2 );
} }