From b97202e8c049a640a39626ebc8cb54438936626f Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 4 Jun 2010 13:56:39 +0000 Subject: [PATCH] 0020580: EDF 1169 GEOM: float number precision in dialog boxes Additional fix: change max limit for precision preferences to 14 --- src/SMESHGUI/SMESHGUI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); }