From 75294dc35b755cbcb92403e021979e2ef2933ea7 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 18 Sep 2023 21:10:33 -0400 Subject: [PATCH] Make sure newly-added library rows get parent table set --- eeschema/dialogs/panel_sym_lib_table.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eeschema/dialogs/panel_sym_lib_table.cpp b/eeschema/dialogs/panel_sym_lib_table.cpp index 52ff2c3430..4c4b996a0a 100644 --- a/eeschema/dialogs/panel_sym_lib_table.cpp +++ b/eeschema/dialogs/panel_sym_lib_table.cpp @@ -532,6 +532,9 @@ bool PANEL_SYM_LIB_TABLE::verifyTables() { SYMBOL_LIB_TABLE_ROW& row = dynamic_cast( table->At( r ) ); + // Newly-added rows won't have set this yet + row.SetParent( table ); + if( !row.GetIsEnabled() ) continue;