Changeset 12643 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-08-25T10:18:53+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImportHandler.java
r12620 r12643 13 13 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask; 14 14 import org.openstreetmap.josm.actions.downloadtasks.DownloadTask; 15 import org.openstreetmap.josm.gui.MainApplication; 15 16 import org.openstreetmap.josm.io.remotecontrol.PermissionPrefWithDefault; 16 17 import org.openstreetmap.josm.tools.Logging; … … 41 42 } else if (Main.pref.getBoolean("remotecontrol.import.interactive", true)) { 42 43 // OpenLocationAction queries the user if more than one task is suitable 43 Main .main.menu.openLocation.openUrl(isLoadInNewLayer(), url.toExternalForm());44 MainApplication.getMenu().openLocation.openUrl(isLoadInNewLayer(), url.toExternalForm()); 44 45 } else { 45 46 // Otherwise perform all tasks … … 110 111 } 111 112 // Find download tasks for the given URL 112 suitableDownloadTasks = Main .main.menu.openLocation.findDownloadTasks(urlString, true);113 suitableDownloadTasks = MainApplication.getMenu().openLocation.findDownloadTasks(urlString, true); 113 114 } 114 115 }
Note:
See TracChangeset
for help on using the changeset viewer.