Changeset 6115 in josm


Ignore:
Timestamp:
2013-08-07T00:04:24+02:00 (6 years ago)
Author:
Don-vip
Message:

see #8735 - Presets: fix cases without checkgroup

File:
1 edited

Legend:

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

    r6114 r6115  
    8181        while (parser.hasNext()) {
    8282            Object o = parser.next();
     83            if (!(o instanceof TaggingPresetItem) && !checks.isEmpty()) {
     84                all.getLast().data.addAll(checks);
     85                checks.clear();
     86            }
    8387            if (o instanceof TaggingPresetMenu) {
    8488                TaggingPresetMenu tp = (TaggingPresetMenu) o;
Note: See TracChangeset for help on using the changeset viewer.