Changeset 17081 in josm for trunk/src


Ignore:
Timestamp:
2020-10-01T21:17:32+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #19865 - IOOBE selecting several pictures and attempting to delete them (patch by francois2)

File:
1 edited

Legend:

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

    r16548 r17081  
    267267            data.remove(img);
    268268        }
    269         if (selectedImagesIndex.get(0) == data.size()) {
     269        if (selectedImagesIndex.get(0) >= data.size()) {
    270270            setSelectedImageIndex(data.size() - 1);
    271271        } else {
Note: See TracChangeset for help on using the changeset viewer.