Ignore:
Timestamp:
2021-03-16T23:57:41+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #20598 - Update the bucket with the new bbox (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/ImageData.java

    r17460 r17574  
    6464        }
    6565        this.geoImages.addAll(this.data);
     66        data.forEach(image -> image.setDataSet(this));
    6667        selectedImagesIndex.add(-1);
    6768    }
     
    218219
    219220    /**
     221     * Indicate that a entry has changed
     222     * @param gpxImageEntry The entry to update
     223     * @since xxx
     224     */
     225    public void fireNodeMoved(ImageEntry gpxImageEntry) {
     226        this.geoImages.remove(gpxImageEntry);
     227        this.geoImages.add(gpxImageEntry);
     228    }
     229
     230    /**
    220231     * Remove the image from the list of selected images
    221232     * @param image {@link ImageEntry} the image to remove
Note: See TracChangeset for help on using the changeset viewer.