SelectAll should use the filter

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17157
This commit is contained in:
Jon Evans 2024-03-05 18:27:41 -05:00
parent 4e8e14ae3a
commit c1ba07e6bc
1 changed files with 1 additions and 1 deletions

View File

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