Ignore:
Timestamp:
2008-10-05T17:06:27+02:00 (16 years ago)
Author:
stoecker
Message:

close bug #1622. Keyboard shortcuts and specific OS handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/RedoAction.java

    r655 r1023  
    99
    1010import org.openstreetmap.josm.Main;
    11 
     11import org.openstreetmap.josm.tools.ShortCut;
    1212
    1313/**
    1414 * Redoes the last command.
    15  * 
     15 *
    1616 * @author imi
    1717 */
     
    2222         */
    2323        public RedoAction() {
    24                 super(tr("Redo"), "redo", tr("Redo the last undone action."), KeyEvent.VK_Y, InputEvent.CTRL_DOWN_MASK, true);
     24                super(tr("Redo"), "redo", tr("Redo the last undone action."),
     25                ShortCut.registerShortCut("system:redo", tr("Edit: Redo"), KeyEvent.VK_Y, ShortCut.GROUP_MENU), true);
    2526                setEnabled(false);
    2627        }
Note: See TracChangeset for help on using the changeset viewer.