PNS: Invalidate start/end items after finishing a route

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8555
This commit is contained in:
Jon Evans 2021-06-06 08:52:29 -04:00
parent 2d584ca5ec
commit 3b7480c1c1
1 changed files with 3 additions and 0 deletions

View File

@ -1058,6 +1058,9 @@ bool ROUTER_TOOL::finishInteractive()
{
m_router->StopRouting();
m_startItem = nullptr;
m_endItem = nullptr;
frame()->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
controls()->SetAutoPan( false );
controls()->ForceCursorPosition( false );