Changeset 7276 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
- Timestamp:
- 2014-06-30T01:06:11+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r7256 r7276 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.io.File; 6 7 import java.io.IOException; 7 8 import java.io.InputStreamReader; … … 164 165 List<String> dirs = new LinkedList<>(); 165 166 166 StringsourceDir = source.getLocalSourceDir();167 File sourceDir = source.getLocalSourceDir(); 167 168 if (sourceDir != null) { 168 dirs.add(sourceDir );169 dirs.add(sourceDir.getPath()); 169 170 } 170 171 171 172 Collection<String> prefIconDirs = Main.pref.getCollection("mappaint.icon.sources"); 172 for(String fileset : prefIconDirs) 173 { 173 for (String fileset : prefIconDirs) { 174 174 String[] a; 175 175 if(fileset.indexOf('=') >= 0) {
Note:
See TracChangeset
for help on using the changeset viewer.