Changeset 8653 in josm for trunk/src/org


Ignore:
Timestamp:
2015-08-09T16:13:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix #11756 - NPE

File:
1 edited

Legend:

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

    r8645 r8653  
    193193                }
    194194
    195                 for (ImageEntry ie : yLayer.data) {
    196                     ie.applyTmp();
     195                if (yLayer.data != null) {
     196                    for (ImageEntry ie : yLayer.data) {
     197                        ie.applyTmp();
     198                    }
    197199                }
    198200
Note: See TracChangeset for help on using the changeset viewer.