From 9cda5e200c22ee1ba4a67c1d178e515df2897b39 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Mon, 12 Sep 2022 14:18:54 -0400 Subject: [PATCH] Hotkeys: Swap on Shift S and revert old actions back to S --- common/tool/actions.cpp | 2 +- eeschema/tools/ee_actions.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index 4dac49757f..d5d63d81d1 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -463,7 +463,7 @@ TOOL_ACTION ACTIONS::gridPrev( "common.Control.gridPrev", TOOL_ACTION ACTIONS::gridSetOrigin( "common.Control.gridSetOrigin", AS_GLOBAL, - MD_SHIFT + 'S', LEGACY_HK_NAME( "Set Grid Origin" ), + 'S', LEGACY_HK_NAME( "Set Grid Origin" ), _( "Grid Origin" ), _( "Set the grid origin point" ), BITMAPS::grid_select_axis ); diff --git a/eeschema/tools/ee_actions.cpp b/eeschema/tools/ee_actions.cpp index 122fa1bd20..cb9e4c8d40 100644 --- a/eeschema/tools/ee_actions.cpp +++ b/eeschema/tools/ee_actions.cpp @@ -328,7 +328,7 @@ TOOL_ACTION EE_ACTIONS::placeHierLabel( "eeschema.InteractiveDrawing.placeHierar TOOL_ACTION EE_ACTIONS::drawSheet( "eeschema.InteractiveDrawing.drawSheet", AS_GLOBAL, - MD_SHIFT + 'S', LEGACY_HK_NAME( "Add Sheet" ), + 'S', LEGACY_HK_NAME( "Add Sheet" ), _( "Add Sheet" ), _( "Add a hierarchical sheet" ), BITMAPS::add_hierarchical_subsheet, AF_ACTIVATE, (void*) SCH_SHEET_T ); @@ -421,7 +421,7 @@ TOOL_ACTION EE_ACTIONS::mirrorH( "eeschema.InteractiveEdit.mirrorH", TOOL_ACTION EE_ACTIONS::swap( "eeschema.InteractiveEdit.swap", AS_GLOBAL, - 'S', "", + MD_SHIFT + 'S', "", _( "Swap" ), _( "Swaps selected items' positions" ), BITMAPS::swap );