Changeset 5872 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2013-04-15T23:32:21+02:00 (12 years ago)
Author:
Don-vip
Message:

fix #8556 - Remote Control: add new_layer parameter to import handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImportHandler.java

    r5691 r5872  
    3131        try {
    3232            if (suitableDownloadTasks != null && !suitableDownloadTasks.isEmpty()) {
    33                 // TODO: add new_layer parameter
    3433                // TODO: handle multiple suitable download tasks ?
    35                 suitableDownloadTasks.iterator().next().loadUrl(false, url.toExternalForm(), null);
     34                suitableDownloadTasks.iterator().next().loadUrl(isLoadInNewLayer(), url.toExternalForm(), null);
    3635            }
    3736        } catch (Exception ex) {
Note: See TracChangeset for help on using the changeset viewer.