Changeset 16687 in josm
- Timestamp:
- 2020-06-21T09:54:46+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/tagging/presets/items
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Combo.java
r16565 r16687 95 95 // all items were unset (and so is default) 96 96 originalValue = getListEntry(""); 97 if (!presetInitiallyMatches && is ForceUseLastAsDefault() && LAST_VALUES.containsKey(key)) {97 if (!presetInitiallyMatches && isUseLastAsDefault() && LAST_VALUES.containsKey(key)) { 98 98 combobox.setSelectedItem(getListEntry(LAST_VALUES.get(key))); 99 99 } else { -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/MultiSelect.java
r16057 r16687 39 39 } else if (usage.unused()) { 40 40 originalValue = null; 41 list.setSelectedItem(originalValue); 41 if (!presetInitiallyMatches && isUseLastAsDefault() && LAST_VALUES.containsKey(key)) { 42 list.setSelectedItem(getListEntry(LAST_VALUES.get(key))); 43 } else { 44 list.setSelectedItem(originalValue); 45 } 42 46 } else { 43 47 originalValue = DIFFERENT;
Note:
See TracChangeset
for help on using the changeset viewer.