Changeset 2951 in josm


Ignore:
Timestamp:
2010-02-08T12:08:29+01:00 (15 years ago)
Author:
stoecker
Message:

fix dangerous tag destroying

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r2912 r2951  
    267267            value = null; // delete the key instead
    268268        }
     269        if (key.equals(newkey) && tr("<different>").equals(value)) {
     270            return;
     271        }
    269272        if (key.equals(newkey) || value == null) {
    270273            Main.main.undoRedo.add(new ChangePropertyCommand(sel, newkey, value));
Note: See TracChangeset for help on using the changeset viewer.