Changeset 4927 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-02-13T22:15:10+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UpdateDataAction.java
r4851 r4927 25 25 tr("Updates the objects in the active data layer from the server."), 26 26 Shortcut.registerShortcut("file:updatedata", 27 tr(" Update data"),27 tr("File: {0}", tr("Update data")), 28 28 KeyEvent.VK_U, Shortcut.GROUP_HOTKEY), 29 29 true); -
trunk/src/org/openstreetmap/josm/actions/UpdateModifiedAction.java
r4892 r4927 26 26 tr("Updates the currently modified objects from the server (re-downloads data)"), 27 27 Shortcut.registerShortcut("file:updatemodified", 28 tr(" Update modified"), KeyEvent.VK_M,28 tr("File: {0}", tr("Update modified")), KeyEvent.VK_M, 29 29 Shortcut.GROUPS_ALT2+Shortcut.GROUP_HOTKEY), 30 30 true); -
trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java
r4892 r4927 87 87 tr("Updates the currently selected objects from the server (re-downloads data)"), 88 88 Shortcut.registerShortcut("file:updateselection", 89 tr(" Update selection"), KeyEvent.VK_U,89 tr("File: {0}", tr("Update selection")), KeyEvent.VK_U, 90 90 Shortcut.GROUPS_ALT2+Shortcut.GROUP_HOTKEY), 91 91 true); -
trunk/src/org/openstreetmap/josm/tools/Shortcut.java
r4926 r4927 450 450 451 451 private static int findModifier(int group, Integer modifier) { 452 Integer defaultModifier = getGroupModifier(group + GROUPS_DEFAULT);452 Integer defaultModifier = getGroupModifier(group); 453 453 if(modifier != null) { 454 454 if(modifier == SHIFT_DEFAULT) { … … 484 484 conflictsWith = potentialShortcut; 485 485 defaultModifier = getGroupModifier(requestedGroup + GROUPS_ALT1); 486 if (defaultModifier == null) { // garbage in, no shortcu rt out486 if (defaultModifier == null) { // garbage in, no shortcut out 487 487 defaultModifier = getGroupModifier(GROUP_NONE + GROUPS_DEFAULT); 488 488 } … … 490 490 if (potentialShortcut != null) { 491 491 defaultModifier = getGroupModifier(requestedGroup + GROUPS_ALT2); 492 if (defaultModifier == null) { // garbage in, no shortcu rt out492 if (defaultModifier == null) { // garbage in, no shortcut out 493 493 defaultModifier = getGroupModifier(GROUP_NONE + GROUPS_DEFAULT); 494 494 }
Note:
See TracChangeset
for help on using the changeset viewer.