From 9dd3bbf2cb3c1daf54b0675fecee7f49fff6ea9f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 23 Jul 2022 12:34:32 +0100 Subject: [PATCH] Change highlight net hotkey default. Fixes https://gitlab.com/kicad/code/kicad/issues/12051 --- pcbnew/tools/pcb_actions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index 58a91a6c93..2e19ea9334 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -745,8 +745,10 @@ TOOL_ACTION PCB_ACTIONS::appendBoard( "pcbnew.EditorControl.appendBoard", BITMAPS::add_board ); TOOL_ACTION PCB_ACTIONS::highlightNet( "pcbnew.EditorControl.highlightNet", - AS_GLOBAL, 0, "", - _( "Highlight Net" ), _( "Highlight net under the cursor" ), + AS_GLOBAL, + // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. + '`', LEGACY_HK_NAME( "Toggle Highlight of Selected Net (Modern Toolset only)" ), + _( "Highlight Net" ), _( "Highlight net under cursor" ), BITMAPS::net_highlight ); TOOL_ACTION PCB_ACTIONS::toggleLastNetHighlight( "pcbnew.EditorControl.toggleLastNetHighlight", @@ -765,9 +767,7 @@ TOOL_ACTION PCB_ACTIONS::toggleNetHighlight( "pcbnew.EditorControl.toggleNetHigh BITMAPS::net_highlight ); TOOL_ACTION PCB_ACTIONS::highlightNetSelection( "pcbnew.EditorControl.highlightNetSelection", - AS_GLOBAL, - // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name. - '`', LEGACY_HK_NAME( "Toggle Highlight of Selected Net (Modern Toolset only)" ), + AS_GLOBAL, 0, "", _( "Highlight Selected Net" ), _( "Highlight all copper items on the selected net(s)" ), BITMAPS::net_highlight );