pcbnew: Fix deletion of vias in global delete window

Fixes: lp:1847580
* https://bugs.launchpad.net/kicad/+bug/1847580
This commit is contained in:
Ian McInerney 2019-10-22 23:29:45 +01:00 committed by Wayne Stambaugh
parent a934fa49aa
commit 3b1817ee32
1 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,8 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete()
if( ( track->GetState( TRACK_LOCKED | TRACK_AR ) & track_mask_filter ) != 0 )
continue;
if( ( track->GetState( TRACK_LOCKED | TRACK_AR ) == 0 ) &&
if( ( track->Type() == PCB_TRACE_T ) &&
( track->GetState( TRACK_LOCKED | TRACK_AR ) == 0 ) &&
!m_TrackFilterNormal->GetValue() )
continue;