Fix typo.

Last commit added the correct code, but failed to delete the buggy code.

Fixes https://gitlab.com/kicad/code/kicad/issues/9090
This commit is contained in:
Jeff Young 2021-09-05 21:20:23 +01:00
parent c58562aebf
commit 69a31f41b8
1 changed files with 0 additions and 3 deletions

View File

@ -342,9 +342,6 @@ void DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem( PICKED_ITEMS_LIST* aUndoList
}
}
if( m_selectedItemsFilter->GetValue() && !m_selection.Contains( aItem ) )
return;
if( m_netFilterOpt->GetValue() && m_netFilter->GetSelectedNetcode() >= 0 )
{
if( aItem->GetNetCode() != m_netFilter->GetSelectedNetcode() )