Remove Shift as a force-finish modifier

This was originally added to facilitate
https://bugs.launchpad.net/kicad/+bug/1777688 but the concern there was
that the layer kept changing when stopping on a via.  We currently have
double-click as the force-finish option and the layer reverts to the
original layer on which you were routing.  This should handle the
operation concern while still preserving shift as the modifier for grid
options

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15828
This commit is contained in:
Seth Hillbrand 2024-04-19 08:51:24 -07:00
parent 909d43492b
commit b1dcd7ecf8
1 changed files with 1 additions and 2 deletions

View File

@ -1406,10 +1406,9 @@ void ROUTER_TOOL::performRouting()
{
updateEndItem( *evt );
bool needLayerSwitch = m_router->IsPlacingVia();
bool forceFinish = evt->Modifier( MD_SHIFT );
bool forceCommit = false;
if( m_router->FixRoute( m_endSnapPoint, m_endItem, forceFinish, forceCommit ) )
if( m_router->FixRoute( m_endSnapPoint, m_endItem, false, forceCommit ) )
break;
if( needLayerSwitch )