Changeset 3641 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-10-27T18:26:19+02:00 (14 years ago)
Author:
stoecker
Message:

fix #5589 - wrong color style display

File:
1 edited

Legend:

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

    r3233 r3641  
    8585                colorKeyList_layer.put(getName(key), key);
    8686            } else if(key.startsWith("mappaint.")) {
    87                 colorKeyList_mappaint.put(getName(key), key);
     87                /* use getName(key)+key, as getName() may be ambiguous */
     88                colorKeyList_mappaint.put(getName(key)+key, key);
    8889            } else {
    8990                colorKeyList.put(getName(key), key);
Note: See TracChangeset for help on using the changeset viewer.