Fix cross-probe clearing Eeschema net

Fixes https://gitlab.com/kicad/code/kicad/issues/6915
This commit is contained in:
Mikolaj Wielgus 2021-01-06 00:21:53 +01:00 committed by Mikołaj Wielgus
parent e3f205a3c4
commit a718416245
1 changed files with 2 additions and 0 deletions

View File

@ -310,6 +310,8 @@ void SCH_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
if( auto sg = Schematic().ConnectionGraph()->FindFirstSubgraphByName( netName ) )
m_highlightedConn = sg->m_driver_connection;
else
m_highlightedConn = nullptr;
GetToolManager()->RunAction( EE_ACTIONS::updateNetHighlighting, true );