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

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

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

Legend:

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

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

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