Make sure pin-caches are up-to-date before testing dangling ends.
Fixes: lp:1767745 * https://bugs.launchpad.net/kicad/+bug/1767745
This commit is contained in:
parent
21ceb786ac
commit
7b734551d3
|
@ -555,6 +555,8 @@ void DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::OnOKButtonClick( wxCommandEvent& event
|
|||
}
|
||||
}
|
||||
|
||||
m_cmp->UpdatePinCache();
|
||||
|
||||
GetParent()->OnModify();
|
||||
GetParent()->GetScreen()->TestDanglingEnds();
|
||||
|
||||
|
|
|
@ -1057,6 +1057,9 @@ void SCH_COMPONENT::SwapData( SCH_ITEM* aItem )
|
|||
std::swap( m_unit, component->m_unit );
|
||||
std::swap( m_convert, component->m_convert );
|
||||
|
||||
std::swap( m_Pins, component->m_Pins );
|
||||
std::swap( m_isDangling, component->m_isDangling );
|
||||
|
||||
TRANSFORM tmp = m_transform;
|
||||
|
||||
m_transform = component->m_transform;
|
||||
|
|
Loading…
Reference in New Issue