PNS router changes layer on 'Place Via' hot key while it is not laying out a track.

This commit is contained in:
Maciej Suminski 2015-09-03 18:25:48 +02:00
parent b1d241c271
commit 4636d8d615
1 changed files with 4 additions and 0 deletions

View File

@ -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 );
} }