From 26f398a4b1a14ba6ea6f8775692ab1da0dd16519 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Fri, 25 Aug 2023 20:59:53 +0300 Subject: [PATCH] Set reporter in DIALOG_SIM_MODEL::TransferDataToWindow. It could've been set to point to local variable "reporter" in loadLibrary. Fixes KICAD-15C --- eeschema/dialogs/dialog_sim_model.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/dialogs/dialog_sim_model.cpp b/eeschema/dialogs/dialog_sim_model.cpp index 61c1bf0a14..4403d78757 100644 --- a/eeschema/dialogs/dialog_sim_model.cpp +++ b/eeschema/dialogs/dialog_sim_model.cpp @@ -189,6 +189,7 @@ bool DIALOG_SIM_MODEL::TransferDataToWindow() { // The model is sourced from a library, optionally with instance overrides. m_rbLibraryModel->SetValue( true ); + m_libraryModelsMgr.SetReporter( &reporter ); if( !loadLibrary( libraryFilename ) ) {