diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index 24a69d7700..5b5d01459a 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -653,6 +653,10 @@ int ROUTER_TOOL::mainLoop( PNS_ROUTER_MODE aMode ) updateStartItem( *evt ); performDragging(); } + else if( evt->IsAction( &ACT_PlaceThroughVia ) ) + { + m_toolMgr->RunAction( COMMON_ACTIONS::layerToggle, true ); + } handleCommonEvents( *evt ); }