- Timestamp:
- 2012-02-02T19:36:40+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ZoomInAction.java
r4494 r4891 25 25 putValue("help", ht("/Action/ZoomIn")); 26 26 // make numpad + behave like + 27 Main.registerActionShortcut(this, KeyStroke.getKeyStroke(KeyEvent.VK_ADD, 0)); 27 Main.registerActionShortcut(this, 28 Shortcut.registerShortcut("view:zoominkeypad", tr("View: {0}", tr("Zoom In (Keypad)")), 29 KeyEvent.VK_ADD, Shortcut.GROUP_DIRECT)); 28 30 } 29 31 -
trunk/src/org/openstreetmap/josm/actions/ZoomOutAction.java
r4494 r4891 20 20 putValue("help", ht("/Action/ZoomOut")); 21 21 // 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)); 23 25 } 24 26
Note:
See TracChangeset
for help on using the changeset viewer.