Changeset 13131 in josm


Ignore:
Timestamp:
2017-11-19T20:49:07+01:00 (7 years ago)
Author:
Don-vip
Message:

see #15476 - rename property constant

File:
1 edited

Legend:

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

    r13129 r13131  
    6565    private String osdText;
    6666
    67     private static final BooleanProperty AGPIFO_STYLE2 =
     67    private static final BooleanProperty AGPIFO_STYLE =
    6868        new BooleanProperty("geoimage.agpifo-style-drag-and-zoom", false);
    6969    private static int dragButton;
     
    9393    public void preferenceChanged(PreferenceChangeEvent e) {
    9494        if (e == null ||
    95             e.getKey().equals(AGPIFO_STYLE2.getKey())) {
    96             dragButton = AGPIFO_STYLE2.get() ? 1 : 3;
     95            e.getKey().equals(AGPIFO_STYLE.getKey())) {
     96            dragButton = AGPIFO_STYLE.get() ? 1 : 3;
    9797            zoomButton = dragButton == 1 ? 3 : 1;
    9898        }
Note: See TracChangeset for help on using the changeset viewer.