Write the correct default value for StringList comments in the config

This commit is contained in:
Bernhard Bonigl 2014-08-15 15:57:44 +02:00
parent ba69a1a6fd
commit 53294b843b

View file

@ -1596,7 +1596,7 @@ public class Configuration
Property prop = this.get(category, name, defaultValue);
prop.setLanguageKey(langKey);
prop.setValidValues(validValues);
prop.comment = comment + " [default: " + defaultValue + "]";
prop.comment = comment + " [default: " + prop.getDefault() + "]";
return prop.getStringList();
}