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


Ignore:
Timestamp:
2021-05-06T22:37:45+02:00 (4 years ago)
Author:
simon04
Message:

see #20851 - Tagging presets: value_template="..." for <combo>

File:
1 edited

Legend:

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

    r17651 r17877  
    397397    public void addCommands(List<Tag> changedTags) {
    398398        String value = getSelectedValue();
    399 
    400         // no change if same as before
    401         if (originalValue == null) {
    402             if (value.isEmpty())
    403                 return;
    404         } else if (value.equals(originalValue.toString()))
    405             return;
    406 
    407399        if (isUseLastAsDefault()) {
    408400            LAST_VALUES.put(key, value);
Note: See TracChangeset for help on using the changeset viewer.