Changeset 3638 in josm for trunk/src/org


Ignore:
Timestamp:
2010-10-24T10:36:52+02:00 (13 years ago)
Author:
jttt
Message:

Fix #5562 error when using "search template" (F3) with Preset for Steps

File:
1 edited

Legend:

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

    r3581 r3638  
    121121                } else if (item instanceof Key) {
    122122                    tags.add(((Key) item).key);
    123                     tags.add(((Key) item).value);
     123                    String value = ((Key) item).value;
     124                    if (value != null) {
     125                        tags.add(value);
     126                    }
    124127                } else if (item instanceof Text) {
    125128                    tags.add(((Text) item).key);
Note: See TracChangeset for help on using the changeset viewer.