Select wire ends in select all.

Fixes https://gitlab.com/kicad/code/kicad/issues/10958
This commit is contained in:
Jeff Young 2022-04-11 19:32:16 +01:00
parent c9a6aadee2
commit 546b3bfbc0
1 changed files with 5 additions and 0 deletions

View File

@ -965,7 +965,12 @@ int EE_SELECTION_TOOL::SelectAll( const TOOL_EVENT& aEvent )
if( EDA_ITEM* item = dynamic_cast<EDA_ITEM*>( item_pair.first ) )
{
if( Selectable( item ) )
{
if( item->Type() == SCH_LINE_T )
item->SetFlags( STARTPOINT | ENDPOINT );
select( item );
}
}
}