From 7cb0d5502211465140e2bbd6dd04a0d1a88b5b53 Mon Sep 17 00:00:00 2001 From: dmv Date: Tue, 2 Dec 2008 13:47:41 +0000 Subject: [PATCH] IPAL20694 Qt4 porting: Precision is not taken into account at controls representation --- src/SMESHGUI/SMESHGUI.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 ); -- 2.39.2