Changeset 9262 in josm
- Timestamp:
- 2016-01-02T16:45:54+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r9260 r9262 148 148 for (int i = 0; i < 10; i++) { 149 149 final int i1 = i + 1; 150 /* POSSIBLE SHORTCUTS: 1,2,3,4,5,6,7,8,9,0=10 */ 150 151 visibilityToggleShortcuts[i] = Shortcut.registerShortcut("subwindow:layers:toggleLayer" + i1, 151 152 tr("Toggle visibility of layer: {0}", i1), KeyEvent.VK_0 + (i1 % 10), Shortcut.ALT); -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r9260 r9262 708 708 final String actionShortcutKey = "properties:recent:" + count; 709 709 final String actionShortcutShiftKey = "properties:recent:shift:" + count; 710 /* POSSIBLE SHORTCUTS: 1,2,3,4,5,6,7,8,9,0=10 */ 710 711 final Shortcut sc = count > 10 ? null : Shortcut.registerShortcut( 711 712 actionShortcutKey, tr("Choose recent tag {0}", count), KeyEvent.VK_0 + (count % 10), Shortcut.CTRL); … … 720 721 } 721 722 }; 723 /* POSSIBLE SHORTCUTS: 1,2,3,4,5,6,7,8,9,0=10 */ 722 724 final Shortcut scShift = count > 10 ? null : Shortcut.registerShortcut( 723 725 actionShortcutShiftKey, tr("Apply recent tag {0}", count), KeyEvent.VK_0 + (count % 10), Shortcut.CTRL_SHIFT);
Note:
See TracChangeset
for help on using the changeset viewer.