Changeset 9632 in josm
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.