From: dmv Date: Tue, 2 Dec 2008 13:47:41 +0000 (+0000) Subject: IPAL20694 Qt4 porting: Precision is not taken into account at controls representation X-Git-Tag: V5_1_0rc2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7cb0d5502211465140e2bbd6dd04a0d1a88b5b53;p=modules%2Fsmesh.git IPAL20694 Qt4 porting: Precision is not taken into account at controls representation --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 5fb5edaa2..b7dbb42b9 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -3339,12 +3339,7 @@ void SMESHGUI::createPreferences() setPreferenceProperty( qaGroup, "columns", 2 ); addPreference( tr( "PREF_DISPLAY_ENTITY" ), qaGroup, LightApp_Preferences::Bool, "SMESH", "display_entity" ); addPreference( tr( "PREF_PRECISION_USE" ), qaGroup, LightApp_Preferences::Bool, "SMESH", "use_precision" ); - - int precGroup = addPreference( tr( "PREF_GROUP_PRECISION" ), genTab ); - setPreferenceProperty( precGroup, "columns", 2 ); - - int prec = addPreference( tr( "PREF_PRECISION_VALUE" ), precGroup, LightApp_Preferences::IntSpin, "SMESH", "controls_precision" ); - + int prec = addPreference( tr( "PREF_PRECISION_VALUE" ), qaGroup, LightApp_Preferences::IntSpin, "SMESH", "controls_precision" ); setPreferenceProperty( prec, "min", 0 ); setPreferenceProperty( prec, "max", 16 );