Ignore:
Timestamp:
2016-01-07T01:53:58+01:00 (10 years ago)
Author:
Don-vip
Message:

see #12282 - handle warnings for mappaint styles:

  • Log warnings that occur when loading style
  • Display them in Mappaint dialog (Info action)
  • Drop redundant error icon
  • Ignore XML styles in styles validation test
  • Make styles validation test fail if at least a warning occur
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java

    r9239 r9334  
    701701        public String link;
    702702        public String description;
     703        /** Style type: can only have one value: "xml". Used to filter out old XML styles. For MapCSS styles, the value is not set. */
     704        public String styleType;
    703705        public Integer minJosmVersion;
    704706
     
    14181420                                    }
    14191421                                }
     1422                            } else if ("style-type".equals(key)) {
     1423                                last.styleType = value;
    14201424                            }
    14211425                        }
Note: See TracChangeset for help on using the changeset viewer.