Set reporter in DIALOG_SIM_MODEL::TransferDataToWindow.
It could've been set to point to local variable "reporter" in loadLibrary.
Fixes KICAD-15C
(cherry picked from commit 26f398a4b1
)
This commit is contained in:
parent
0f93752f14
commit
5b0d752e0c
|
@ -180,6 +180,7 @@ bool DIALOG_SIM_MODEL<T_symbol, T_field>::TransferDataToWindow()
|
||||||
{
|
{
|
||||||
// The model is sourced from a library, optionally with instance overrides.
|
// The model is sourced from a library, optionally with instance overrides.
|
||||||
m_useLibraryModelRadioButton->SetValue( true );
|
m_useLibraryModelRadioButton->SetValue( true );
|
||||||
|
m_libraryModelsMgr.SetReporter( &reporter );
|
||||||
|
|
||||||
if( !loadLibrary( libraryFilename ) )
|
if( !loadLibrary( libraryFilename ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue