Ticket #19574: 19574.style_pref_consistency.patch
File 19574.style_pref_consistency.patch, 893 bytes (added by , 5 years ago) |
---|
-
src/org/openstreetmap/josm/gui/mappaint/StyleSettingFactory.java
50 50 case "color": 51 51 return forLabelAndDefault(c, Color.class, (label, defaultValue) -> { 52 52 final NamedColorProperty property = new NamedColorProperty(NamedColorProperty.COLOR_CATEGORY_MAPPAINT, 53 parentStyle. getFileNamePart(), label, defaultValue);53 parentStyle.title == null ? "MapCSS" : parentStyle.title, label, defaultValue); 54 54 return new StyleSetting.ColorStyleSetting(parentStyle, label, property); 55 55 }); 56 56 default: