Changeset 4966 in josm


Ignore:
Timestamp:
2012-02-17T18:06:12+01:00 (8 years ago)
Author:
stoecker
Message:

better shortcuts for up and download

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

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

    r4964 r4966  
    2828    public DownloadAction() {
    2929        super(tr("Download from OSM..."), "download", tr("Download map data from the OSM server."),
    30                 Shortcut.registerShortcut("file:download", tr("File: {0}", tr("Download from OSM...")), KeyEvent.VK_D, Shortcut.GROUP_DIRECT), true);
     30                Shortcut.registerShortcut("file:download", tr("File: {0}", tr("Download from OSM...")), KeyEvent.VK_DOWN, Shortcut.GROUP_HOTKEY+Shortcut.GROUPS_ALT1), true);
    3131        putValue("help", ht("/Action/Download"));
    3232    }
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r4963 r4966  
    8787    public UploadAction() {
    8888        super(tr("Upload data"), "upload", tr("Upload all changes in the active data layer to the OSM server"),
    89                 Shortcut.registerShortcut("file:upload", tr("File: {0}", tr("Upload data")), KeyEvent.VK_U, Shortcut.GROUP_DIRECT), true);
     89                Shortcut.registerShortcut("file:upload", tr("File: {0}", tr("Upload data")), KeyEvent.VK_UP, Shortcut.GROUP_HOTKEY+Shortcu.GROUPS_ALT1), true);
    9090        putValue("help", ht("/Action/Upload"));
    9191    }
Note: See TracChangeset for help on using the changeset viewer.