PNS router changes layer on 'Place Via' hot key while it is not laying out a track.
This commit is contained in:
parent
b1d241c271
commit
4636d8d615
|
@ -653,6 +653,10 @@ int ROUTER_TOOL::mainLoop( PNS_ROUTER_MODE aMode )
|
||||||
updateStartItem( *evt );
|
updateStartItem( *evt );
|
||||||
performDragging();
|
performDragging();
|
||||||
}
|
}
|
||||||
|
else if( evt->IsAction( &ACT_PlaceThroughVia ) )
|
||||||
|
{
|
||||||
|
m_toolMgr->RunAction( COMMON_ACTIONS::layerToggle, true );
|
||||||
|
}
|
||||||
|
|
||||||
handleCommonEvents( *evt );
|
handleCommonEvents( *evt );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue