Restore net highlighting to router tool

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5962
This commit is contained in:
Jon Evans 2020-10-13 20:30:38 -04:00
parent fd4b9f0efa
commit cea73fe510
1 changed files with 3 additions and 0 deletions

View File

@ -870,6 +870,9 @@ bool ROUTER_TOOL::prepareInteractive()
editFrame->SetActiveLayer( ToLAYER_ID( routingLayer ) );
if( m_startItem && m_startItem->Net() >= 0 )
highlightNet( true, m_startItem->Net() );
controls()->ForceCursorPosition( false );
controls()->SetAutoPan( true );