Fix copy-paste error

(cherry picked from commit 8dca61ce9c)
This commit is contained in:
Seth Hillbrand 2022-01-11 06:08:04 -08:00
parent 9af5ed32f7
commit acf2e1601c
1 changed files with 2 additions and 2 deletions

View File

@ -409,9 +409,9 @@ bool DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataFromWindow()
{
if( m_tracks->GetValue() && track->Type() == PCB_TRACE_T )
visitItem( &itemsListPicker, track );
else if ( m_vias->GetValue() && track->Type() == PCB_VIA_T )
else if ( m_tracks->GetValue() && track->Type() == PCB_ARC_T )
visitItem( &itemsListPicker, track );
else if ( m_vias->GetValue() && track->Type() == PCB_ARC_T )
else if ( m_vias->GetValue() && track->Type() == PCB_VIA_T )
visitItem( &itemsListPicker, track );
}