Ignore:
Timestamp:
2018-09-03T20:15:11+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16706 - use documented enum for AutoScaleMode instead of undocumented string constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java

    r13926 r14221  
    2222
    2323import org.openstreetmap.josm.actions.AutoScaleAction;
     24import org.openstreetmap.josm.actions.AutoScaleAction.AutoScaleMode;
    2425import org.openstreetmap.josm.data.osm.IPrimitive;
    2526import org.openstreetmap.josm.data.osm.OsmData;
     
    253254                if (ds != null) {
    254255                    ds.setSelected(p.getPrimitiveId());
    255                     AutoScaleAction.autoScale("selection");
     256                    AutoScaleAction.autoScale(AutoScaleMode.SELECTION);
    256257                }
    257258            }
Note: See TracChangeset for help on using the changeset viewer.