Save pointer to markers provider.
Fixes https://gitlab.com/kicad/code/kicad/issues/11136
(cherry picked from commit a81c8d4922
)
This commit is contained in:
parent
3720a52ecb
commit
d34faf30cc
|
@ -1,7 +1,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) 2020 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 2020-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
|
||||||
|
@ -160,6 +160,7 @@ void DIALOG_FOOTPRINT_CHECKER::runChecks()
|
||||||
|
|
||||||
void DIALOG_FOOTPRINT_CHECKER::SetMarkersProvider( RC_ITEMS_PROVIDER* aProvider )
|
void DIALOG_FOOTPRINT_CHECKER::SetMarkersProvider( RC_ITEMS_PROVIDER* aProvider )
|
||||||
{
|
{
|
||||||
|
m_markersProvider = aProvider;
|
||||||
m_markersTreeModel->SetProvider( aProvider );
|
m_markersTreeModel->SetProvider( aProvider );
|
||||||
updateDisplayedCounts();
|
updateDisplayedCounts();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue