Ignore:
Timestamp:
2015-09-01T20:34:28+02:00 (10 years ago)
Author:
simon04
Message:

see #11795 - taginfoextract: avoid "Could not get presets icon" by not loading icons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r8510 r8710  
    153153    /**
    154154     * Called from the XML parser to set the icon.
    155      * This task is performed in the background in order to speedup startup.
     155     * The loading task is performed in the background in order to speedup startup.
    156156     */
    157157    public void setIcon(final String iconName) {
    158158        this.iconName = iconName;
     159        if (!TaggingPresetReader.isLoadIcons()) {
     160            return;
     161        }
    159162        File arch = TaggingPresetReader.getZipIcons();
    160163        final Collection<String> s = Main.pref.getCollection("taggingpreset.icon.sources", null);
Note: See TracChangeset for help on using the changeset viewer.