mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
After removing items from the conn list, check valid
When cancelling, we mark elements invalid if they are removed from the connectivity list. Be cause when iterating through the list again. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20566
This commit is contained in:
parent
199a7a34ea
commit
9d1142839a
@ -945,7 +945,7 @@ void CN_CONNECTIVITY_ALGO::updateJumperPads()
|
||||
|
||||
for( CN_ITEM* item : m_itemList )
|
||||
{
|
||||
if( item->Parent()->Type() != PCB_PAD_T )
|
||||
if( !item->Valid() || item->Parent()->Type() != PCB_PAD_T )
|
||||
continue;
|
||||
|
||||
auto pad = static_cast<const PAD*>( item->Parent() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user