Ignore:
Timestamp:
2012-02-18T13:40:52+01:00 (13 years ago)
Author:
stoecker
Message:

fix shortcut deprecation

Location:
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysAction.java

    r27810 r27852  
    3333                        + "around a chosen pivot."),
    3434                                Shortcut.registerShortcut("tools:alignways", tr("Tool: {0}", tr("Align Ways")),
    35                                 KeyEvent.VK_SPACE, Shortcut.GROUP_DIRECT+Shortcut.GROUPS_ALT1)
     35                                KeyEvent.VK_SPACE, Shortcut.SHIFT)
    3636                                , true);
    3737        setEnabled(false);
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysMode.java

    r27810 r27852  
    4545                Shortcut.registerShortcut("mapmode:alignways",
    4646                        tr("Mode: {0}", tr("Align Ways")),
    47                         KeyEvent.VK_N, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1),
     47                        KeyEvent.VK_N, Shortcut.SHIFT),
    4848                        mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    4949        noneSelected = new AlignWaysSelNoneState();
Note: See TracChangeset for help on using the changeset viewer.