Ignore:
Timestamp:
2015-09-01T20:59:49+02:00 (5 years ago)
Author:
simon04
Message:

see #11428 - Overpass Download: take nice shortcut from mirrored_download plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OverpassDownloadAction.java

    r8711 r8712  
    77import java.awt.Component;
    88import java.awt.event.ActionEvent;
     9import java.awt.event.KeyEvent;
    910import java.io.UnsupportedEncodingException;
    1011import java.net.URLEncoder;
     
    3839import org.openstreetmap.josm.io.OsmTransferException;
    3940import org.openstreetmap.josm.tools.GBC;
     41import org.openstreetmap.josm.tools.Shortcut;
    4042import org.openstreetmap.josm.tools.Utils;
    4143
     
    5153    public OverpassDownloadAction() {
    5254        super(tr("Download from Overpass API ..."), "download-overpass", tr("Download map data from Overpass API server."),
    53                 null, true, "overpassdownload/download", true);
     55                Shortcut.registerShortcut("file:download-overpass", tr("File: {0}", tr("Download from Overpass API ...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT),
     56                true, "overpassdownload/download", true);
    5457        putValue("help", ht("/Action/OverpassDownload"));
    5558    }
Note: See TracChangeset for help on using the changeset viewer.