]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #591: restore default Strickler coefficient value in preferences.
authormkr <mkr@opencascade.com>
Tue, 23 Jun 2015 09:21:32 +0000 (12:21 +0300)
committermkr <mkr@opencascade.com>
Tue, 23 Jun 2015 09:21:32 +0000 (12:21 +0300)
src/HYDROGUI/HYDROGUI_Module.cxx

index 9127cb74a747cd7926b26e0583279c62fbf4f614..60ed49748807addbd54781018c0757ef7bb86522 100644 (file)
@@ -781,7 +781,7 @@ void HYDROGUI_Module::createPreferences()
 
   int StricklerTableGroup = addPreference( tr( "PREF_GROUP_STRICKLER_TABLE" ), genTab );
   int defaultStricklerCoef = addPreference( tr( "PREF_DEFAULT_STRICKLER_COEFFICIENT" ), StricklerTableGroup,
-                                            LightApp_Preferences::DblSpin, "HYDRO", "default_strickler_coefficient" );
+                                            LightApp_Preferences::DblSpin, "preferences", "default_strickler_coefficient" );
   setPreferenceProperty( defaultStricklerCoef, "precision", 2 );
   setPreferenceProperty( defaultStricklerCoef, "min", 0.00 );
   setPreferenceProperty( defaultStricklerCoef, "max", 1000000.00 );