Changeset 7158 in josm for trunk


Ignore:
Timestamp:
2014-05-21T09:48:01+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #10039 - don't raise warning for same values

File:
1 edited

Legend:

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

    r7137 r7158  
    163163     * If during last editProperty call user changed the key name, this key will be returned
    164164     * Elsewhere, returns null.
     165     * @return The modified key, or {@code null}
    165166     */
    166167    public String getChangedKey() {
     
    760761            for (OsmPrimitive osm: sel) {
    761762                String val = osm.get(key);
    762                 if (val != null) {
     763                if (val != null && !val.equals(value)) {
    763764                    if (!warnOverwriteKey(tr("You changed the value of ''{0}'' from ''{1}'' to ''{2}''.", key, val, value),
    764765                            "overwriteAddKey"))
Note: See TracChangeset for help on using the changeset viewer.