Ignore:
Timestamp:
2017-10-12T16:02:15+02:00 (7 years ago)
Author:
bastiK
Message:

see #15410 - change preferences scheme for named colors - makes runtime color name registry obsolete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/autofilter/AutoFilterButton.java

    r12630 r12987  
    1212
    1313import org.openstreetmap.josm.actions.JosmAction;
    14 import org.openstreetmap.josm.data.preferences.ColorProperty;
     14import org.openstreetmap.josm.data.preferences.NamedColorProperty;
    1515import org.openstreetmap.josm.gui.MainApplication;
    1616
     
    2121public class AutoFilterButton extends JButton {
    2222
    23     private static final ColorProperty PROP_COLOR = new ColorProperty("auto.filter.button.color", new Color(0, 160, 160));
     23    private static final NamedColorProperty PROP_COLOR = new NamedColorProperty("auto.filter.button.color", new Color(0, 160, 160));
    2424
    2525    private final AutoFilter filter;
Note: See TracChangeset for help on using the changeset viewer.