Change highlight net hotkey default.

Fixes https://gitlab.com/kicad/code/kicad/issues/12051
This commit is contained in:
Jeff Young 2022-07-23 12:34:32 +01:00
parent 16b9a7a1e5
commit 9dd3bbf2cb
1 changed files with 5 additions and 5 deletions

View File

@ -745,8 +745,10 @@ TOOL_ACTION PCB_ACTIONS::appendBoard( "pcbnew.EditorControl.appendBoard",
BITMAPS::add_board ); BITMAPS::add_board );
TOOL_ACTION PCB_ACTIONS::highlightNet( "pcbnew.EditorControl.highlightNet", TOOL_ACTION PCB_ACTIONS::highlightNet( "pcbnew.EditorControl.highlightNet",
AS_GLOBAL, 0, "", AS_GLOBAL,
_( "Highlight Net" ), _( "Highlight net under the cursor" ), // 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 ); BITMAPS::net_highlight );
TOOL_ACTION PCB_ACTIONS::toggleLastNetHighlight( "pcbnew.EditorControl.toggleLastNetHighlight", TOOL_ACTION PCB_ACTIONS::toggleLastNetHighlight( "pcbnew.EditorControl.toggleLastNetHighlight",
@ -765,9 +767,7 @@ TOOL_ACTION PCB_ACTIONS::toggleNetHighlight( "pcbnew.EditorControl.toggleNetHigh
BITMAPS::net_highlight ); BITMAPS::net_highlight );
TOOL_ACTION PCB_ACTIONS::highlightNetSelection( "pcbnew.EditorControl.highlightNetSelection", TOOL_ACTION PCB_ACTIONS::highlightNetSelection( "pcbnew.EditorControl.highlightNetSelection",
AS_GLOBAL, AS_GLOBAL, 0, "",
// 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 Selected Net" ), _( "Highlight all copper items on the selected net(s)" ), _( "Highlight Selected Net" ), _( "Highlight all copper items on the selected net(s)" ),
BITMAPS::net_highlight ); BITMAPS::net_highlight );