From 5bc2285aef59703d223c47de122c20577961c921 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 1 Mar 2021 14:46:07 +0000 Subject: [PATCH] Fix another failure of dynamic_cast<>. Fixes https://gitlab.com/kicad/code/kicad/issues/7767 --- eeschema/dialogs/panel_sym_lib_table.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/dialogs/panel_sym_lib_table.cpp b/eeschema/dialogs/panel_sym_lib_table.cpp index d003ac503c..7c2472c5ba 100644 --- a/eeschema/dialogs/panel_sym_lib_table.cpp +++ b/eeschema/dialogs/panel_sym_lib_table.cpp @@ -1001,6 +1001,7 @@ void InvokeSchEditSymbolLibTable( KIWAY* aKiway, wxWindow *aParent ) } DIALOG_EDIT_LIBRARY_TABLES dlg( aParent, _( "Symbol Libraries" ) ); + dlg.SetKiway( &dlg, aKiway ); dlg.InstallPanel( new PANEL_SYM_LIB_TABLE( &dlg, &aKiway->Prj(), globalTable, globalTablePath, projectTable, projectTableFn.GetFullPath() ) );