Give autocomplete routing a default parameter

Fixes KICAD-2M4
This commit is contained in:
Ian McInerney 2023-07-10 19:41:03 +01:00
parent eedf319ba4
commit aab8d2b036
1 changed files with 7 additions and 5 deletions

View File

@ -1777,11 +1777,13 @@ TOOL_ACTION PCB_ACTIONS::routerContinueFromEnd( "pcbnew.InteractiveRouter.Contin
_( "Route From Other End" ),
_( "Commits current segments and starts next segment from nearest ratsnest end." ) );
TOOL_ACTION PCB_ACTIONS::routerAttemptFinish( "pcbnew.InteractiveRouter.AttemptFinish",
AS_CONTEXT,
'F', "",
_( "Attempt Finish" ),
_( "Attempts to complete current route to nearest ratsnest end." ) );
TOOL_ACTION PCB_ACTIONS::routerAttemptFinish( TOOL_ACTION_ARGS()
.Name( "pcbnew.InteractiveRouter.AttemptFinish" )
.Scope( AS_CONTEXT )
.DefaultHotkey( 'F' )
.MenuText( _( "Attempt Finish" ) )
.Tooltip( _( "Attempts to complete current route to nearest ratsnest end." ) )
.Parameter<bool*>( nullptr ) );
TOOL_ACTION PCB_ACTIONS::routerRouteSelected( TOOL_ACTION_ARGS()
.Name( "pcbnew.InteractiveRouter.RouteSelected" )