Changeset 1893 in josm


Ignore:
Timestamp:
2009-08-03T09:56:50+02:00 (11 years ago)
Author:
Gubaer
Message:

fixed NPE, added missing icon

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/Layer.java

    r1890 r1893  
    170170        String oldValue = this.name;
    171171        this.name = name;
    172         if (!oldValue.equals(this.name)) {
     172        if (!this.name.equals(oldValue)) {
    173173            propertyChangeSupport.firePropertyChange(NAME_PROP, oldValue, this.name);
    174174        }
Note: See TracChangeset for help on using the changeset viewer.