Changeset 9204 in josm for trunk/src/org


Ignore:
Timestamp:
2015-12-28T21:09:39+01:00 (4 years ago)
Author:
simon04
Message:

fix #12244 - Fix menu shortcut preferences

Regression from r8792.

File:
1 edited

Legend:

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

    r9078 r9204  
    626626     */
    627627    public <T extends JMenu> T addMenu(T menu, String name, int mnemonicKey, int position, String relativeHelpTopic) {
    628         Shortcut.registerShortcut("menu:" + name, tr("Menu: {0}", getName()), mnemonicKey,
     628        Shortcut.registerShortcut("menu:" + name, tr("Menu: {0}", name), mnemonicKey,
    629629                Shortcut.MNEMONIC).setMnemonic(menu);
    630630        add(menu, position);
Note: See TracChangeset for help on using the changeset viewer.