Changeset 13998 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2018-07-04T01:03:02+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16458 - add guidepost role to walking routes presets (route=hiking/foot)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java

    r13852 r13998  
    272272                        all.getLast().roles = (Roles) o;
    273273                        lastrole = (Roles) o;
     274                        // #16458 - Make sure we don't duplicate role entries if used in a chunk/reference
     275                        lastrole.roles.clear();
    274276                    } else if (o instanceof Role) {
    275277                        if (lastrole == null)
Note: See TracChangeset for help on using the changeset viewer.