Set reporter in DIALOG_SIM_MODEL::TransferDataToWindow.

It could've been set to point to local variable "reporter" in loadLibrary.

Fixes KICAD-15C
This commit is contained in:
Alex Shvartzkop 2023-08-25 20:59:53 +03:00
parent 83fe3576c6
commit 26f398a4b1
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ bool DIALOG_SIM_MODEL<T_symbol, T_field>::TransferDataToWindow()
{
// The model is sourced from a library, optionally with instance overrides.
m_rbLibraryModel->SetValue( true );
m_libraryModelsMgr.SetReporter( &reporter );
if( !loadLibrary( libraryFilename ) )
{