Changeset 19006 in josm for trunk/src/org
- Timestamp:
- 2024-03-04T08:22:42+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r18842 r19006 606 606 if (key.equals(newkey) && KeyedItem.DIFFERENT_I18N.equals(value)) 607 607 return; 608 if (value != null && key.equals(getEditItem(keys)) && m.size() == 1 && m.containsKey(getEditItem(values))) 609 return; // see #22814: avoid to create a command that wouldn't change anything 608 610 if (key.equals(newkey) || value == null) { 609 611 UndoRedoHandler.getInstance().add(new ChangePropertyCommand(sel, newkey, value));
Note:
See TracChangeset
for help on using the changeset viewer.