DIALOG_BOARD_STATISTICS: Reset the drill count list before recalculations.
Fixes #10984 https://gitlab.com/kicad/code/kicad/issues/10984
This commit is contained in:
parent
aadcc43dbb
commit
05110b7bdc
|
@ -2,7 +2,7 @@
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2019 Alexander Shuklin, jasuramme@gmail.com
|
* Copyright (C) 2019 Alexander Shuklin, jasuramme@gmail.com
|
||||||
* Copyright (C) 2019-2021 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 2019-2022 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -203,6 +203,7 @@ bool DIALOG_BOARD_STATISTICS::TransferDataToWindow()
|
||||||
void DIALOG_BOARD_STATISTICS::getDataFromPCB()
|
void DIALOG_BOARD_STATISTICS::getDataFromPCB()
|
||||||
{
|
{
|
||||||
BOARD* board = m_parentFrame->GetBoard();
|
BOARD* board = m_parentFrame->GetBoard();
|
||||||
|
m_drillTypes.clear();
|
||||||
|
|
||||||
// Get footprints and pads count
|
// Get footprints and pads count
|
||||||
for( FOOTPRINT* footprint : board->Footprints() )
|
for( FOOTPRINT* footprint : board->Footprints() )
|
||||||
|
|
Loading…
Reference in New Issue