Changeset 10446 in josm for trunk/src/org/openstreetmap/josm/actions/relation
- Timestamp:
- 2016-06-21T00:58:45+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/relation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AddSelectionToRelations.java
r10039 r10446 39 39 Collection<Command> cmds = new LinkedList<>(); 40 40 for (Relation orig : relations) { 41 Command c = GenericRelationEditor.addPrimitivesToRelation(orig, Main. main.getCurrentDataSet().getSelected());41 Command c = GenericRelationEditor.addPrimitivesToRelation(orig, Main.getLayerManager().getEditDataSet().getSelected()); 42 42 if (c != null) { 43 43 cmds.add(c); -
trunk/src/org/openstreetmap/josm/actions/relation/RecentRelationsAction.java
r10413 r10446 100 100 return relation != null && 101 101 !relation.isDeleted() && 102 Main. main.getCurrentDataSet().containsRelation(relation);102 Main.getLayerManager().getEditDataSet().containsRelation(relation); 103 103 } 104 104
Note:
See TracChangeset
for help on using the changeset viewer.