Ignore:
Timestamp:
2017-12-28T00:53:58+01:00 (2 years ago)
Author:
Don-vip
Message:

fix #15654 - repair asynchronous fetching of icons (regression from r10714) + fetch https icons asynchronously (omission from r10731)

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/MapImage.java

    r12722 r13250  
    139139                .setHeight(height)
    140140                .setOptional(true)
    141                 .getAsync().thenAccept(result -> {
     141                .getAsync().thenAcceptAsync(result -> {
    142142                    synchronized (this) {
    143143                        if (result == null) {
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java

    r13130 r13250  
    217217        imgProv.setArchive(arch);
    218218        imgProv.setOptional(true);
    219         imgProv.getResourceAsync().thenAccept(result -> {
     219        imgProv.getResourceAsync().thenAcceptAsync(result -> {
    220220            if (result != null) {
    221221                GuiHelper.runInEDT(() -> result.attachImageIcon(this));
Note: See TracChangeset for help on using the changeset viewer.