Ignore:
Timestamp:
2017-12-28T22:12:45+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #15701 - CorrelateGpxWithImages: Test newGpsData, speed, elevation, gpsTime set by matchGpxTrack() (patch by holgermappt)

File:
1 edited

Legend:

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

    r13220 r13256  
    456456
    457457    /**
    458      * Queries whether the GPS data changed.
     458     * Queries whether the GPS data changed. The flag value from the temporary
     459     * copy is returned if that copy exists.
    459460     * @return {@code true} if GPS data changed, {@code false} otherwise
    460461     * @since 6392
    461462     */
    462463    public boolean hasNewGpsData() {
     464        if (tmp != null)
     465            return tmp.isNewGpsData;
    463466        return isNewGpsData;
    464467    }
Note: See TracChangeset for help on using the changeset viewer.