Changeset 35803 in osm for applications/editors/josm/plugins/opendata
- Timestamp:
- 2021-08-11T20:26:21+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/actions/DownloadDataTask.java
r34805 r35803 33 33 @Override 34 34 public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) { 35 downloadTask = new InternalDownloadTas K(settings, new NetworkReader(url, handler, true), progressMonitor);35 downloadTask = new InternalDownloadTask(settings, new NetworkReader(url, handler, true), progressMonitor, zoomAfterDownload); 36 36 currentBounds = null; 37 37 if (handler == null || !handler.hasLicenseToBeAccepted() || askLicenseAgreement(handler.getLicense())) { … … 78 78 } 79 79 80 protected class InternalDownloadTas Kextends DownloadTask {80 protected class InternalDownloadTask extends DownloadTask { 81 81 82 public InternalDownloadTas K(DownloadParams settings, NetworkReader reader, ProgressMonitor progressMonitor) {83 super(settings, reader, progressMonitor );82 public InternalDownloadTask(DownloadParams settings, NetworkReader reader, ProgressMonitor progressMonitor, boolean zoomAfterDownload) { 83 super(settings, reader, progressMonitor, zoomAfterDownload); 84 84 } 85 85 … … 112 112 try { 113 113 return new AskLicenseAgreementDialog(license).showDialog().getValue() == 1; 114 115 114 } catch (IOException e) { 116 115 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("License URL not available: {0}", license.toString()));
Note:
See TracChangeset
for help on using the changeset viewer.