- Timestamp:
- 2017-08-14T13:44:21+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r11822 r12602 454 454 /** 455 455 * Constructs a new {@code JoinAreasAction} with optional shortcut. 456 * @param addShortcut controls whether the shortcut should be registered or not 456 * @param addShortcut controls whether the shortcut should be registered or not, as for toolbar registration 457 457 * @since 11611 458 458 */ … … 460 460 super(tr("Join overlapping Areas"), "joinareas", tr("Joins areas that overlap each other"), addShortcut ? 461 461 Shortcut.registerShortcut("tools:joinareas", tr("Tool: {0}", tr("Join overlapping Areas")), KeyEvent.VK_J, Shortcut.SHIFT) 462 : null, true);462 : null, addShortcut); 463 463 } 464 464 -
trunk/src/org/openstreetmap/josm/actions/PurgeAction.java
r11611 r12602 86 86 /** 87 87 * Constructs a new {@code PurgeAction} with optional shortcut. 88 * @param addShortcut controls whether the shortcut should be registered or not 88 * @param addShortcut controls whether the shortcut should be registered or not, as for toolbar registration 89 89 * @since 11611 90 90 */ … … 93 93 super(tr("Purge..."), "purge", tr("Forget objects but do not delete them on server when uploading."), addShortcut ? 94 94 Shortcut.registerShortcut("system:purge", tr("Edit: {0}", tr("Purge")), KeyEvent.VK_P, Shortcut.CTRL_SHIFT) 95 : null, true);95 : null, addShortcut); 96 96 putValue("help", HelpUtil.ht("/Action/Purge")); 97 97 }
Note:
See TracChangeset
for help on using the changeset viewer.