]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020580: EDF 1169 GEOM: float number precision in dialog boxes V5_1_4_BR V5_1_4 V5_1_4_patch01 V5_1_4_patch02 V5_1_4_patch03 V5_1_4rc2 V5_1_4rc3
authorvsr <vsr@opencascade.com>
Fri, 4 Jun 2010 13:56:39 +0000 (13:56 +0000)
committervsr <vsr@opencascade.com>
Fri, 4 Jun 2010 13:56:39 +0000 (13:56 +0000)
Additional fix: change max limit for precision preferences to 14

src/SMESHGUI/SMESHGUI.cxx

index 13f22f8dddaec3529c0fcc48f44125882cce2346..f777acbc420413040cd877418131a2dd4c047eaf 100644 (file)
@@ -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 );
   }