BOARD::PadDelete() should update connectivity

Fixes: lp:1783528
* https://bugs.launchpad.net/kicad/+bug/1783528
This commit is contained in:
Tomasz Wlostowski 2018-07-26 16:20:16 +02:00
parent 630631b41b
commit 07d56a2e32
1 changed files with 1 additions and 0 deletions

View File

@ -1848,6 +1848,7 @@ void BOARD::GetSortedPadListByXthenYCoord( std::vector<D_PAD*>& aVector, int aNe
void BOARD::PadDelete( D_PAD* aPad )
{
GetConnectivity()->Remove( aPad );
aPad->DeleteStructure();
}