From ed342d0cc0051672170dcf59c37c2cdaa8b62b55 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 12 Sep 2021 17:35:44 -0400 Subject: [PATCH] Do not clear highlighting on a cancel event Fixes https://gitlab.com/kicad/code/kicad/-/issues/9035 --- eeschema/tools/sch_editor_control.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/eeschema/tools/sch_editor_control.cpp b/eeschema/tools/sch_editor_control.cpp index 5c7ef5be96..96b274624a 100644 --- a/eeschema/tools/sch_editor_control.cpp +++ b/eeschema/tools/sch_editor_control.cpp @@ -2092,7 +2092,6 @@ void SCH_EDITOR_CONTROL::setTransitions() Go( &SCH_EDITOR_CONTROL::HighlightNetCursor, EE_ACTIONS::highlightNetTool.MakeEvent() ); Go( &SCH_EDITOR_CONTROL::UpdateNetHighlighting, EVENTS::SelectedItemsModified ); Go( &SCH_EDITOR_CONTROL::UpdateNetHighlighting, EE_ACTIONS::updateNetHighlighting.MakeEvent() ); - Go( &SCH_EDITOR_CONTROL::ClearHighlight, ACTIONS::cancelInteractive.MakeEvent() ); Go( &SCH_EDITOR_CONTROL::AssignNetclass, EE_ACTIONS::assignNetclass.MakeEvent() );