From 546b3bfbc0499fa98b59f55c4561d2540aca7f46 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 11 Apr 2022 19:32:16 +0100 Subject: [PATCH] Select wire ends in select all. Fixes https://gitlab.com/kicad/code/kicad/issues/10958 --- eeschema/tools/ee_selection_tool.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eeschema/tools/ee_selection_tool.cpp b/eeschema/tools/ee_selection_tool.cpp index 6a789a53cf..21f5181c7c 100644 --- a/eeschema/tools/ee_selection_tool.cpp +++ b/eeschema/tools/ee_selection_tool.cpp @@ -965,7 +965,12 @@ int EE_SELECTION_TOOL::SelectAll( const TOOL_EVENT& aEvent ) if( EDA_ITEM* item = dynamic_cast( item_pair.first ) ) { if( Selectable( item ) ) + { + if( item->Type() == SCH_LINE_T ) + item->SetFlags( STARTPOINT | ENDPOINT ); + select( item ); + } } }