Fix: Clear drill holes table before loading board file

From master branch
This commit is contained in:
Jan Wichmann
2024-11-07 16:56:18 +01:00
committed by jean-pierre charras
parent a3eff548b7
commit 6c359e2f06
@@ -204,6 +204,7 @@ void DIALOG_BOARD_STATISTICS::getDataFromPCB()
{
BOARD* board = m_parentFrame->GetBoard();
m_drillTypes.clear();
m_gridDrills->ClearRows();
// Get footprints and pads count
for( FOOTPRINT* footprint : board->Footprints() )