SelectAll should use the filter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17157
This commit is contained in:
parent
4e8e14ae3a
commit
c1ba07e6bc
|
@ -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( EDA_ITEM* item = dynamic_cast<EDA_ITEM*>( item_pair.first ) )
|
||||||
{
|
{
|
||||||
if( Selectable( item ) )
|
if( Selectable( item ) && itemPassesFilter( item ) )
|
||||||
{
|
{
|
||||||
if( item->Type() == SCH_LINE_T )
|
if( item->Type() == SCH_LINE_T )
|
||||||
item->SetFlags( STARTPOINT | ENDPOINT );
|
item->SetFlags( STARTPOINT | ENDPOINT );
|
||||||
|
|
Loading…
Reference in New Issue