Changeset 13614 in josm for trunk/src


Ignore:
Timestamp:
2018-04-11T21:25:50+02:00 (18 months ago)
Author:
Don-vip
Message:

use OsmDataLayer.getDataSet() in DrawAction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r13434 r13614  
    231231        Node baseNode = getCurrentBaseNode();
    232232        if (editLayer != null && baseNode != null && !editLayer.data.selectionEmpty()) {
    233             DataSet currentDataSet = editLayer.data;
     233            DataSet currentDataSet = editLayer.getDataSet();
    234234            Way continueFrom = getWayForNode(baseNode);
    235235            if (alt && continueFrom != null && (!baseNode.isSelected() || continueFrom.isSelected())) {
Note: See TracChangeset for help on using the changeset viewer.