Changeset 10924 in josm for trunk


Ignore:
Timestamp:
2016-09-01T02:10:36+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13494 - Disable "Fix" Button for "Duplicate Node" that is outside download area (patch by Gerd Petermann)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java

    r10413 r10924  
    420420        // never merge nodes with different tags.
    421421        if (testError.getCode() == DUPLICATE_NODE) return false;
     422        // cannot merge nodes outside download area
     423        if (testError.getPrimitives().iterator().next().isOutsideDownloadArea()) return false;
    422424        // everything else is ok to merge
    423425        return true;
Note: See TracChangeset for help on using the changeset viewer.