Changeset 12602 in josm for trunk/src/org/openstreetmap/josm/actions/PurgeAction.java
- Timestamp:
- 2017-08-14T13:44:21+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.