]> SALOME platform Git repositories - modules/visu.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 mergeto_V5_1_main_09Jun10 start_BR_WIN_INDUS_514
authorvsr <vsr@opencascade.com>
Fri, 4 Jun 2010 13:58:37 +0000 (13:58 +0000)
committervsr <vsr@opencascade.com>
Fri, 4 Jun 2010 13:58:37 +0000 (13:58 +0000)
Additional fix: change max limit for precision preferences to 14

src/VISUGUI/VisuGUI.cxx

index 23a41b3e774ac1d003a07cbd7ecab8d236848a31..bb6ba8236c930952d1280727718085c61d4a72e8 100644 (file)
@@ -3748,8 +3748,8 @@ void VisuGUI::createPreferences()
   
   // Set property for precision value for spinboxes
   for ( ii = 0; ii < nbQuantities; ii++ ){
-    setPreferenceProperty( precs[ii], "min", ii == 2 ? 0 : -10 );
-    setPreferenceProperty( precs[ii], "max", ii == 2 ? 3 : 10 );
+    setPreferenceProperty( precs[ii], "min", ii == 2 ? 0 : -14 );
+    setPreferenceProperty( precs[ii], "max", ii == 2 ? 3 : 14 );
     setPreferenceProperty( precs[ii], "precision", 2 );
   }