Changeset 8942 in josm for trunk/src


Ignore:
Timestamp:
2015-10-24T21:58:59+02:00 (9 years ago)
Author:
Don-vip
Message:

Add constructor forgotten in r8927

File:
1 edited

Legend:

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

    r8927 r8942  
    305305         */
    306306        public DownloadTask(boolean newLayer, OsmServerReader reader, ProgressMonitor progressMonitor) {
    307             super(newLayer, tr("Downloading data"), progressMonitor, false, true);
     307            this(newLayer, reader, progressMonitor, true);
     308        }
     309
     310        /**
     311         * Constructs a new {@code DownloadTask}.
     312         * @param newLayer if {@code true}, force download to a new layer
     313         * @param reader OSM data reader
     314         * @param progressMonitor progress monitor
     315         * @param zoomAfterDownload If true, the map view will zoom to download area after download
     316         * @since 8942
     317         */
     318        public DownloadTask(boolean newLayer, OsmServerReader reader, ProgressMonitor progressMonitor, boolean zoomAfterDownload) {
     319            super(newLayer, tr("Downloading data"), progressMonitor, false, zoomAfterDownload);
    308320            this.reader = reader;
    309321        }
Note: See TracChangeset for help on using the changeset viewer.