Changeset 1492 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-03-16T13:35:20+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r1474 r1492 452 452 */ 453 453 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); 456 456 if (icon == null) 457 457 {
Note:
See TracChangeset
for help on using the changeset viewer.