pcbnew: Fix deletion of vias in global delete window
Fixes: lp:1847580
* https://bugs.launchpad.net/kicad/+bug/1847580
(cherry picked from commit 3b1817ee32
)
This commit is contained in:
parent
a7d554971c
commit
61934c285c
|
@ -214,7 +214,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