Changeset 13250 in josm for trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java
- Timestamp:
- 2017-12-28T00:53:58+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java
r13206 r13250 76 76 String icon = info.getIcon(); 77 77 if (icon != null) { 78 new ImageProvider(icon).setOptional(true).getResourceAsync().thenAccept (result -> {78 new ImageProvider(icon).setOptional(true).getResourceAsync().thenAcceptAsync(result -> { 79 79 if (result != null) { 80 80 GuiHelper.runInEDT(() -> result.attachImageIcon(this));
Note:
See TracChangeset
for help on using the changeset viewer.