Changeset 4711 in josm


Ignore:
Timestamp:
2011-12-26T12:59:19+01:00 (8 years ago)
Author:
bastiK
Message:

applied #7153 - shortcut conflict within core (patch by akks)

File:
1 edited

Legend:

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

    r4646 r4711  
    443443            putValue(SHORT_DESCRIPTION, tr("Toggle visible state of the selected layer."));
    444444            putValue("help", HelpUtil.ht("/Dialog/LayerList#ShowHideLayer"));
    445             putValue(ACCELERATOR_KEY, Shortcut.registerShortcut("core_multikey:showHideLayer", "", 'S', Shortcut.GROUP_DIRECT, KeyEvent.ALT_DOWN_MASK + KeyEvent.CTRL_DOWN_MASK).getKeyStroke());
     445            putValue(ACCELERATOR_KEY, Shortcut.registerShortcut("core_multikey:showHideLayer", "", 'S', Shortcut.GROUP_DIRECT, KeyEvent.SHIFT_DOWN_MASK).getKeyStroke());
    446446            if (init) {
    447447                updateEnabledState();
     
    630630            putValue(SMALL_ICON, ImageProvider.get("dialogs", "activate"));
    631631            putValue(SHORT_DESCRIPTION, tr("Activate the selected layer"));
    632             putValue(ACCELERATOR_KEY, Shortcut.registerShortcut("core_multikey:activateLayer", "", 'A', Shortcut.GROUP_DIRECT, KeyEvent.SHIFT_DOWN_MASK + KeyEvent.ALT_DOWN_MASK).getKeyStroke());
     632            putValue(ACCELERATOR_KEY, Shortcut.registerShortcut("core_multikey:activateLayer", "", 'A', Shortcut.GROUP_DIRECT, KeyEvent.SHIFT_DOWN_MASK).getKeyStroke());
    633633            putValue("help", HelpUtil.ht("/Dialog/LayerList#ActivateLayer"));
    634634        }
Note: See TracChangeset for help on using the changeset viewer.