From bf814b25da7155e19ed53a40c27df3a856e9f1ba Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 15 Feb 2019 18:29:43 -0800 Subject: [PATCH] eeschema: Update pin cache after conversion Pin caches need to be updated when the unit is converted as the pin location may have changed in conversion. Fixes: lp:1816207 * https://bugs.launchpad.net/kicad/+bug/1816207 --- eeschema/getpart.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/getpart.cpp b/eeschema/getpart.cpp index 351df947ae..13951995e5 100644 --- a/eeschema/getpart.cpp +++ b/eeschema/getpart.cpp @@ -383,6 +383,7 @@ void SCH_EDIT_FRAME::ConvertPart( SCH_COMPONENT* aComponent ) // The alternate symbol may cause a change in the connection status so test the // connections so the connection indicators are drawn correctly. + aComponent->UpdatePinCache(); TestDanglingEnds(); aComponent->ClearFlags(); aComponent->SetFlags( flags ); // Restore m_Flag (modified by SetConvert())