Changeset 1023 in josm for trunk/src/org/openstreetmap/josm/actions/UndoAction.java
- Timestamp:
- 2008-10-05T17:06:27+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UndoAction.java
r627 r1023 9 9 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.tools.ShortCut; 12 12 13 13 /** 14 14 * Undoes the last command. 15 * 15 * 16 16 * @author imi 17 17 */ … … 22 22 */ 23 23 public UndoAction() { 24 super(tr("Undo"), "undo", tr("Undo the last action."), KeyEvent.VK_Z, InputEvent.CTRL_DOWN_MASK, true); 24 super(tr("Undo"), "undo", tr("Undo the last action."), 25 ShortCut.registerShortCut("system:undo", tr("Edit: Undo"), KeyEvent.VK_Z, ShortCut.GROUP_MENU), true); 25 26 setEnabled(false); 26 27 }
Note:
See TracChangeset
for help on using the changeset viewer.