Avoid Mac-standard Cmd+H as well.

Fixes https://gitlab.com/kicad/code/kicad/issues/8864
This commit is contained in:
Jeff Young 2021-07-27 22:23:18 +01:00
parent 2c766bdb2b
commit 19de38bbae
2 changed files with 20 additions and 11 deletions

View File

@ -404,10 +404,13 @@ TOOL_ACTION ACTIONS::cursorDblClick( "common.Control.cursorDblClick",
TOOL_ACTION ACTIONS::refreshPreview( "common.Control.refreshPreview",
AS_GLOBAL );
TOOL_ACTION ACTIONS::pinLibrary( "common.Control.pinLibrary", AS_GLOBAL, 0, "", _( "Pin Library" ),
TOOL_ACTION ACTIONS::pinLibrary( "common.Control.pinLibrary",
AS_GLOBAL, 0, "",
_( "Pin Library" ),
_( "Keep the library at the top of the list" ) );
TOOL_ACTION ACTIONS::unpinLibrary( "common.Control.unpinLibrary", AS_GLOBAL, 0, "",
TOOL_ACTION ACTIONS::unpinLibrary( "common.Control.unpinLibrary",
AS_GLOBAL, 0, "",
_( "Unpin Library" ),
_( "No longer keep the library at the top of the list" ) );
@ -526,13 +529,17 @@ TOOL_ACTION ACTIONS::toggleCursorStyle( "common.Control.toggleCursorStyle",
BITMAPS::cursor_shape );
TOOL_ACTION ACTIONS::highContrastMode( "common.Control.highContrastMode",
AS_GLOBAL, 0, LEGACY_HK_NAME( "Toggle High Contrast Mode" ),
AS_GLOBAL,
0, LEGACY_HK_NAME( "Toggle High Contrast Mode" ),
_( "Single Layer View Mode" ), _( "Toggle inactive layers between normal and dimmed" ),
BITMAPS::contrast_mode );
TOOL_ACTION ACTIONS::highContrastModeCycle( "common.Control.highContrastModeCycle",
AS_GLOBAL, MD_CTRL + 'H', "", _( "Single Layer View Mode (3-state)" ),
_( "Toggle inactive layers between normal, dimmed, and hidden" ), BITMAPS::contrast_mode );
AS_GLOBAL,
'H', "",
_( "Single Layer View Mode (3-state)" ),
_( "Toggle inactive layers between normal, dimmed, and hidden" ),
BITMAPS::contrast_mode );
TOOL_ACTION ACTIONS::selectionTool( "common.InteractiveSelection.selectionTool",
AS_GLOBAL, 0, "",
@ -547,7 +554,9 @@ TOOL_ACTION ACTIONS::measureTool( "common.InteractiveEdit.measureTool",
BITMAPS::measurement, AF_ACTIVATE );
TOOL_ACTION ACTIONS::pickerTool( "common.InteractivePicker.pickerTool",
AS_GLOBAL, 0, "", "", "", BITMAPS::INVALID_BITMAP, AF_ACTIVATE );
AS_GLOBAL, 0, "",
"", "",
BITMAPS::INVALID_BITMAP, AF_ACTIVATE );
TOOL_ACTION ACTIONS::show3DViewer( "common.Control.show3DViewer",
AS_GLOBAL,

View File

@ -335,7 +335,7 @@ TOOL_ACTION EE_ACTIONS::importSheetPin( "eeschema.InteractiveDrawing.importSheet
TOOL_ACTION EE_ACTIONS::placeGlobalLabel( "eeschema.InteractiveDrawing.placeGlobalLabel",
AS_GLOBAL,
MD_CTRL + 'H', LEGACY_HK_NAME( "Add Global Label" ),
MD_CTRL + 'L', LEGACY_HK_NAME( "Add Global Label" ),
_( "Add Global Label" ), _( "Add a global label" ),
BITMAPS::add_glabel, AF_ACTIVATE );