]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL20694 Qt4 porting: Precision is not taken into account at controls representation
authordmv <dmv@opencascade.com>
Tue, 2 Dec 2008 13:47:41 +0000 (13:47 +0000)
committerdmv <dmv@opencascade.com>
Tue, 2 Dec 2008 13:47:41 +0000 (13:47 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 5fb5edaa2352645f3338aef6350b438097e3b6e8..b7dbb42b9e4746007fa958824679d411d10b53ac 100644 (file)
@@ -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 );