Ignore:
Timestamp:
2016-09-20T11:32:04+02:00 (8 years ago)
Author:
simon04
Message:

see #12224 - Search menu item: make shortcut work when MOTD is focused

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/MenuItemSearchDialog.java

    r10611 r11031  
    113113    public static class Action extends JosmAction {
    114114
     115        public static final Shortcut SHORTCUT = Shortcut.registerShortcut("help:search-items", "Search menu items", KeyEvent.VK_SPACE, Shortcut.CTRL);
     116
    115117        public Action() {
    116118            super(tr("Search menu items"), "dialogs/search", null,
    117                     Shortcut.registerShortcut("help:search-items", "Search menu items", KeyEvent.VK_SPACE, Shortcut.CTRL),
     119                    SHORTCUT,
    118120                    true, "dialogs/search-items", false);
    119121        }
Note: See TracChangeset for help on using the changeset viewer.