From acf2e1601c0dae8c0be6d329cc107ceb289e86c2 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 11 Jan 2022 06:08:04 -0800 Subject: [PATCH] Fix copy-paste error (cherry picked from commit 8dca61ce9ca8c6951cd9dfc25243696acb185d75) --- pcbnew/dialogs/dialog_global_edit_tracks_and_vias.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_global_edit_tracks_and_vias.cpp b/pcbnew/dialogs/dialog_global_edit_tracks_and_vias.cpp index aee7153a66..f4e4081bd4 100644 --- a/pcbnew/dialogs/dialog_global_edit_tracks_and_vias.cpp +++ b/pcbnew/dialogs/dialog_global_edit_tracks_and_vias.cpp @@ -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 ); }