SCH/PCB: Set Swap hotkey to 'S'

* Move Add Sheet to Shift+S in Schematic Editor
* Move Set Grid Origin to Shift+S in PCB Editor
This commit is contained in:
Mike Williams 2022-08-30 09:14:14 -04:00
parent 926f979ebc
commit f70e1d0f22
3 changed files with 6 additions and 4 deletions

View File

@ -463,7 +463,7 @@ TOOL_ACTION ACTIONS::gridPrev( "common.Control.gridPrev",
TOOL_ACTION ACTIONS::gridSetOrigin( "common.Control.gridSetOrigin",
AS_GLOBAL,
'S', LEGACY_HK_NAME( "Set Grid Origin" ),
MD_SHIFT + 'S', LEGACY_HK_NAME( "Set Grid Origin" ),
_( "Grid Origin" ), _( "Set the grid origin point" ),
BITMAPS::grid_select_axis );

View File

@ -328,7 +328,7 @@ TOOL_ACTION EE_ACTIONS::placeHierLabel( "eeschema.InteractiveDrawing.placeHierar
TOOL_ACTION EE_ACTIONS::drawSheet( "eeschema.InteractiveDrawing.drawSheet",
AS_GLOBAL,
'S', LEGACY_HK_NAME( "Add Sheet" ),
MD_SHIFT + 'S', LEGACY_HK_NAME( "Add Sheet" ),
_( "Add Sheet" ), _( "Add a hierarchical sheet" ),
BITMAPS::add_hierarchical_subsheet, AF_ACTIVATE, (void*) SCH_SHEET_T );
@ -420,7 +420,8 @@ TOOL_ACTION EE_ACTIONS::mirrorH( "eeschema.InteractiveEdit.mirrorH",
BITMAPS::mirror_h );
TOOL_ACTION EE_ACTIONS::swap( "eeschema.InteractiveEdit.swap",
AS_GLOBAL, 0, "",
AS_GLOBAL,
'S', "",
_( "Swap" ), _( "Swaps selected items' positions" ),
BITMAPS::swap_layer );

View File

@ -326,7 +326,8 @@ TOOL_ACTION PCB_ACTIONS::mirror( "pcbnew.InteractiveEdit.mirror",
BITMAPS::mirror_h );
TOOL_ACTION PCB_ACTIONS::swap( "pcbnew.InteractiveEdit.swap",
AS_GLOBAL, 0, "",
AS_GLOBAL,
'S', "",
_( "Swap" ), _( "Swaps selected items' positions" ),
BITMAPS::swap_layer );