From 97c2627de67b2a395e4f81a89e28d00996e420e6 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Wed, 15 Dec 2021 23:18:53 +0100 Subject: [PATCH] router: added missing case items (fixes regression in component dragging) Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10010 --- pcbnew/router/pns_router.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/router/pns_router.cpp b/pcbnew/router/pns_router.cpp index 12afdca5ac..16a0151578 100644 --- a/pcbnew/router/pns_router.cpp +++ b/pcbnew/router/pns_router.cpp @@ -437,6 +437,7 @@ void ROUTER::Move( const VECTOR2I& aP, ITEM* endItem ) break; case DRAG_SEGMENT: + case DRAG_COMPONENT: moveDragging( aP, endItem ); break; @@ -685,6 +686,7 @@ bool ROUTER::FixRoute( const VECTOR2I& aP, ITEM* aEndItem, bool aForceFinish ) break; case DRAG_SEGMENT: + case DRAG_COMPONENT: rv = m_dragger->FixRoute(); break;