From a7184162452e3605af3e27693c2cae05efdbc4a2 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Wed, 6 Jan 2021 00:21:53 +0100 Subject: [PATCH] Fix cross-probe clearing Eeschema net Fixes https://gitlab.com/kicad/code/kicad/issues/6915 --- eeschema/cross-probing.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/cross-probing.cpp b/eeschema/cross-probing.cpp index dce60915cd..b4238b7dde 100644 --- a/eeschema/cross-probing.cpp +++ b/eeschema/cross-probing.cpp @@ -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 );