Ignore:
Timestamp:
2009-10-27T11:20:38+01:00 (15 years ago)
Author:
guggis
Message:

Make sure the ProgressDialog is closed after download

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java

    r18295 r18302  
    167167                        maxlon = downloadBounds.getMaxX();
    168168                    }
    169                     Future<?> future = osmTask.download(false /*no new layer*/, new Bounds(minlat,minlon,maxlat,maxlon), new PleaseWaitProgressMonitor());                   
     169                    Future<?> future = osmTask.download(false /*no new layer*/, new Bounds(minlat,minlon,maxlat,maxlon), null /* let the task manage the progress monitor */);                   
    170170                    Main.worker.submit(new PostDownloadHandler(osmTask, future));                   
    171171                } catch (AlreadyLoadedException ex) {
Note: See TracChangeset for help on using the changeset viewer.