Changeset 17557 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2021-03-08T20:48:34+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RelationRoleEditor.java
r17215 r17557 46 46 } 47 47 final List<RelationMember> newMembers = relation.getMembers(); 48 newMembers.replaceAll(m -> members.contains(m) ? new RelationMember( newRole, m.getMember()) : m);48 newMembers.replaceAll(m -> members.contains(m) ? new RelationMember(Utils.strip(newRole), m.getMember()) : m); 49 49 UndoRedoHandler.getInstance().add(new ChangeMembersCommand(relation, newMembers)); 50 50 }
Note:
See TracChangeset
for help on using the changeset viewer.