Ignore:
Timestamp:
2017-09-14T02:25:27+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - include support for the long type in IPreferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java

    r12846 r12853  
    321321    private BoundingXYVisitor modeDownload(BoundingXYVisitor v) {
    322322        if (lastZoomTime > 0 &&
    323                 System.currentTimeMillis() - lastZoomTime > Main.pref.getLong("zoom.bounds.reset.time", TimeUnit.SECONDS.toMillis(10))) {
     323                System.currentTimeMillis() - lastZoomTime > Config.getPref().getLong("zoom.bounds.reset.time", TimeUnit.SECONDS.toMillis(10))) {
    324324            lastZoomTime = -1;
    325325        }
Note: See TracChangeset for help on using the changeset viewer.