Changeset 16513 in josm for trunk/src


Ignore:
Timestamp:
2020-05-29T08:46:28+02:00 (4 years ago)
Author:
GerdP
Message:

fix #19121: JosmAction.checkAndConfirmOutlyingOperation() should also handle dataset without download area

  • restrict additional check if dataset has a download area to nodes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/Command.java

    r16369 r16513  
    229229                res |= IS_INCOMPLETE;
    230230            } else if ((osm.isOutsideDownloadArea()
    231                     || (!osm.isNew() && osm.getDataSet() != null && osm.getDataSet().getDataSourceBounds().isEmpty()))
     231                    || (osm instanceof Node && !osm.isNew() && osm.getDataSet() != null && osm.getDataSet().getDataSourceBounds().isEmpty()))
    232232                            && (ignore == null || !ignore.contains(osm))) {
    233233                res |= IS_OUTSIDE;
Note: See TracChangeset for help on using the changeset viewer.