Ignore:
Timestamp:
2012-02-02T19:36:40+01:00 (12 years ago)
Author:
stoecker
Message:

add shortcut class usage

File:
1 edited

Legend:

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

    r4494 r4891  
    2020        putValue("help", ht("/Action/ZoomOut"));
    2121        // make numpad - behave like -
    22         Main.registerActionShortcut(this, KeyStroke.getKeyStroke(KeyEvent.VK_SUBTRACT,0));
     22        Main.registerActionShortcut(this,
     23            Shortcut.registerShortcut("view:zoomoutkeypad", tr("View: {0}", tr("Zoom Out (Keypad)")),
     24                KeyEvent.VK_SUBTRACT, Shortcut.GROUP_DIRECT));
    2325    }
    2426
Note: See TracChangeset for help on using the changeset viewer.