Ignore:
Timestamp:
2011-01-28T18:58:56+01:00 (15 years ago)
Author:
bastiK
Message:

IconElemStyle: delay the loading of imagage icon until it is actually displayed on screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/SourceEntry.java

    r3825 r3827  
    9696    }
    9797
     98    /**
     99     * the name / identifier that should be used to save custom color values
     100     * and similar stuff to the preference file
     101     * @return the identifier; never null. Usually the result is "standard"
     102     */
     103    public String getPrefName() {
     104        return name == null ? "standard" : name;
     105    }
    98106}
Note: See TracChangeset for help on using the changeset viewer.