Changeset 1492 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2009-03-16T13:35:20+01:00 (16 years ago)
Author:
stoecker
Message:

added MacOS support in build. patch by Thilo Hannemann

File:
1 edited

Legend:

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

    r1474 r1492  
    452452     */
    453453    public void setIcon(String iconName) {
    454         String s = Main.pref.get("taggingpreset.iconpaths");
    455         ImageIcon icon = ImageProvider.getIfAvailable((s != null ? s.split(";") : null), "presets", null, iconName);
     454        Collection<String> s = Main.pref.getCollection("taggingpreset.iconpaths", null);
     455        ImageIcon icon = ImageProvider.getIfAvailable(s, "presets", null, iconName);
    456456        if (icon == null)
    457457        {
Note: See TracChangeset for help on using the changeset viewer.