Fix crash due to invisible settings getting localized

This commit is contained in:
johni0702
2015-11-14 16:45:28 +01:00
parent 7c8dde3322
commit 48fb3e6f82

View File

@@ -126,7 +126,7 @@ public class SettingsRegistry {
@Override
public String getDisplayString() {
return I18n.format(displayString);
return displayString == null ? null : I18n.format(displayString);
}
@Override