pcbnew: Fix deletion of vias in global delete window
Fixes: lp:1847580 * https://bugs.launchpad.net/kicad/+bug/1847580
This commit is contained in:
parent
a934fa49aa
commit
3b1817ee32
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue