Changeset 6474 in josm for trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
- Timestamp:
- 2013-12-16T00:22:44+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r6380 r6474 183 183 if (!tasks.isEmpty()) { 184 184 // TODO: handle multiple suitable tasks ? 185 future = tasks.iterator().next().loadUrl(new_layer, url, monitor); 185 try { 186 future = tasks.iterator().next().loadUrl(new_layer, url, monitor); 187 } catch (IllegalArgumentException e) { 188 Main.error(e); 189 } 186 190 } 187 191 if (future != null) {
Note:
See TracChangeset
for help on using the changeset viewer.