PNS: Invalidate start/end items after finishing a route
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8555
This commit is contained in:
parent
2d584ca5ec
commit
3b7480c1c1
|
@ -1058,6 +1058,9 @@ bool ROUTER_TOOL::finishInteractive()
|
||||||
{
|
{
|
||||||
m_router->StopRouting();
|
m_router->StopRouting();
|
||||||
|
|
||||||
|
m_startItem = nullptr;
|
||||||
|
m_endItem = nullptr;
|
||||||
|
|
||||||
frame()->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
frame()->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
||||||
controls()->SetAutoPan( false );
|
controls()->SetAutoPan( false );
|
||||||
controls()->ForceCursorPosition( false );
|
controls()->ForceCursorPosition( false );
|
||||||
|
|
Loading…
Reference in New Issue