From 07d56a2e325d0933f145fc8ea29759c0539e8f5b Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Thu, 26 Jul 2018 16:20:16 +0200 Subject: [PATCH] BOARD::PadDelete() should update connectivity Fixes: lp:1783528 * https://bugs.launchpad.net/kicad/+bug/1783528 --- pcbnew/class_board.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/class_board.cpp b/pcbnew/class_board.cpp index ca1c406402..351ed1371a 100644 --- a/pcbnew/class_board.cpp +++ b/pcbnew/class_board.cpp @@ -1848,6 +1848,7 @@ void BOARD::GetSortedPadListByXthenYCoord( std::vector& aVector, int aNe void BOARD::PadDelete( D_PAD* aPad ) { + GetConnectivity()->Remove( aPad ); aPad->DeleteStructure(); }