Browse Source

Change highlight net hotkey default.

Fixes https://gitlab.com/kicad/code/kicad/issues/12051
7.0
Jeff Young 3 years ago
parent
commit
9dd3bbf2cb
  1. 10
      pcbnew/tools/pcb_actions.cpp

10
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 );

Loading…
Cancel
Save