Ignore:
Timestamp:
2017-12-28T03:04:16+01:00 (2 years ago)
Author:
Don-vip
Message:

see #15654 - fix icon flickering (regression from r13250)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r13250 r13252  
    7676        String icon = info.getIcon();
    7777        if (icon != null) {
    78             new ImageProvider(icon).setOptional(true).getResourceAsync().thenAcceptAsync(result -> {
     78            new ImageProvider(icon).setOptional(true).getResourceAsync(result -> {
    7979                if (result != null) {
    8080                    GuiHelper.runInEDT(() -> result.attachImageIcon(this));
Note: See TracChangeset for help on using the changeset viewer.