Changeset 10816 in josm


Ignore:
Timestamp:
2016-08-15T21:27:06+02:00 (8 years ago)
Author:
simon04
Message:

fix #12950 - Add "Download in current view"

This action is located in the main menu and expert only.

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r10766 r10816  
    4444import org.openstreetmap.josm.actions.DownloadAction;
    4545import org.openstreetmap.josm.actions.DownloadNotesInViewAction;
     46import org.openstreetmap.josm.actions.DownloadOsmInViewAction;
    4647import org.openstreetmap.josm.actions.DownloadPrimitiveAction;
    4748import org.openstreetmap.josm.actions.DownloadReferrersAction;
     
    158159    /** File / Download from OSM... **/
    159160    public final DownloadAction download = new DownloadAction();
     161    /** File / Download in current view **/
     162    public final DownloadOsmInViewAction downloadInView = new DownloadOsmInViewAction();
    160163    /** File / Download from Overpass API... **/
    161164    public final OverpassDownloadAction overpassDownload = new OverpassDownloadAction();
     
    656659        fileMenu.addSeparator();
    657660        add(fileMenu, download);
     661        add(fileMenu, downloadInView, true);
    658662        add(fileMenu, overpassDownload, true);
    659663        add(fileMenu, downloadPrimitive);
Note: See TracChangeset for help on using the changeset viewer.