Save pointer to markers provider.
Fixes https://gitlab.com/kicad/code/kicad/issues/11136
This commit is contained in:
parent
e7bf4ab8fa
commit
a81c8d4922
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* 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
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -155,6 +155,7 @@ void DIALOG_FOOTPRINT_CHECKER::runChecks()
|
|||
|
||||
void DIALOG_FOOTPRINT_CHECKER::SetMarkersProvider( RC_ITEMS_PROVIDER* aProvider )
|
||||
{
|
||||
m_markersProvider = aProvider;
|
||||
m_markersTreeModel->SetProvider( aProvider );
|
||||
updateDisplayedCounts();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue