From: mkr Date: Tue, 23 Jun 2015 09:21:32 +0000 (+0300) Subject: refs #591: restore default Strickler coefficient value in preferences. X-Git-Tag: v1.4.2~43^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d93b082710ef920f6539fd0c12bede758d13f1b0;p=modules%2Fhydro.git refs #591: restore default Strickler coefficient value in preferences. --- diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 9127cb74..60ed4974 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -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 );