From 752ba2ed76890d409bccb14bfb4f27365102616d Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Tue, 8 Mar 2022 00:45:20 +0100 Subject: [PATCH] router: log via toggle events --- pcbnew/router/pns_router.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcbnew/router/pns_router.cpp b/pcbnew/router/pns_router.cpp index f94a8a4e63..20967bcb3b 100644 --- a/pcbnew/router/pns_router.cpp +++ b/pcbnew/router/pns_router.cpp @@ -794,6 +794,11 @@ void ROUTER::ToggleViaPlacement() { bool toggle = !m_placer->IsPlacingVia(); m_placer->ToggleVia( toggle ); + + if( m_logger ) + { + m_logger->Log( LOGGER::EVT_TOGGLE_VIA ); + } } }