Changeset 13293 in josm
- Timestamp:
- 2018-01-07T22:18:10+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r13229 r13293 817 817 } 818 818 819 Collection<OsmPrimitive> selection = getLayerManager().getEditDataSet().getSelected(); 819 DataSet ds = getLayerManager().getEditDataSet(); 820 Collection<OsmPrimitive> selection = ds != null ? ds.getSelected() : Collections.emptyList(); 820 821 821 822 MapView mv = MainApplication.getMap().mapView;
Note:
See TracChangeset
for help on using the changeset viewer.