From: vsr Date: Fri, 4 Jun 2010 13:56:39 +0000 (+0000) Subject: 0020580: EDF 1169 GEOM: float number precision in dialog boxes X-Git-Tag: V5_1_4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV5_1_4_BR;p=modules%2Fsmesh.git 0020580: EDF 1169 GEOM: float number precision in dialog boxes Additional fix: change max limit for precision preferences to 14 --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 13f22f8dd..f777acbc4 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -3861,8 +3861,8 @@ void SMESHGUI::createPreferences() // Set property for precision value for spinboxes for ( ii = 0; ii < nbQuantities; ii++ ){ - setPreferenceProperty( precs[ii], "min", -10 ); - setPreferenceProperty( precs[ii], "max", 10 ); + setPreferenceProperty( precs[ii], "min", -14 ); + setPreferenceProperty( precs[ii], "max", 14 ); setPreferenceProperty( precs[ii], "precision", 2 ); }