Ignore:
Timestamp:
2012-02-18T12:53:53+01:00 (14 years ago)
Author:
stoecker
Message:

see #7226 - patch by akks (fixed a bit) - fix shortcut deprecations

File:
1 edited

Legend:

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

    r4891 r4982  
    2020                "dialogs/zoomin",
    2121                tr("Zoom In"),
    22                 Shortcut.registerShortcut("view:zoomin", tr("View: {0}", tr("Zoom In")),KeyEvent.VK_PLUS, Shortcut.GROUP_DIRECT),
     22                Shortcut.registerShortcut("view:zoomin", tr("View: {0}", tr("Zoom In")),KeyEvent.VK_PLUS, Shortcut.DIRECT),
    2323                true
    2424        );
     
    2727        Main.registerActionShortcut(this,
    2828            Shortcut.registerShortcut("view:zoominkeypad", tr("View: {0}", tr("Zoom In (Keypad)")),
    29                 KeyEvent.VK_ADD, Shortcut.GROUP_DIRECT));
     29                KeyEvent.VK_ADD, Shortcut.DIRECT));
    3030    }
    3131
Note: See TracChangeset for help on using the changeset viewer.