Changeset 18945 in josm for trunk


Ignore:
Timestamp:
2024-01-19T11:09:38+01:00 (11 months ago)
Author:
GerdP
Message:

fix #22819: JOSM shows geotagged images in the wrong location

  • if a new image should be shown, make sure that we don't show the previous one. Instead, show only the loading message.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java

    r18944 r18945  
    981981        if (imageChanged) {
    982982            cancelLoadingImage();
     983            // don't show unwanted image
     984            imgDisplay.setImage(null);
    983985            // Set only if the image is new to preserve zoom and position if the same image is redisplayed
    984986            // (e.g. to update the OSD).
Note: See TracChangeset for help on using the changeset viewer.