router: added missing case items (fixes regression in component dragging)

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10010
This commit is contained in:
Tomasz Wlostowski 2021-12-15 23:18:53 +01:00
parent 232b39a321
commit 97c2627de6
1 changed files with 2 additions and 0 deletions

View File

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