Changeset 9632 in josm for trunk/src/org
- Timestamp:
- 2016-01-25T23:42:17+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r9623 r9632 441 441 442 442 RelationMember getRelationMemberForPrimitive(final OsmPrimitive primitive) { 443 final Collection<TaggingPreset> presets = TaggingPresets.getMatchingPresets(EnumSet.of(TaggingPresetType.forPrimitive(relation)), 443 final Collection<TaggingPreset> presets = TaggingPresets.getMatchingPresets( 444 EnumSet.of(relation != null ? TaggingPresetType.forPrimitive(relation) : TaggingPresetType.RELATION), 444 445 presetHandler.getSelection().iterator().next().getKeys(), false); 445 446 Collection<String> potentialRoles = new TreeSet<>();
Note:
See TracChangeset
for help on using the changeset viewer.