From 9584849abae752b74692ea5073252d378172ea1b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 17 Feb 2022 12:35:46 +0000 Subject: [PATCH] Fix type which results in global fieldname templates being added to project. --- eeschema/dialogs/panel_template_fieldnames.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/panel_template_fieldnames.cpp b/eeschema/dialogs/panel_template_fieldnames.cpp index 23f56011dd..202a4cf0d2 100644 --- a/eeschema/dialogs/panel_template_fieldnames.cpp +++ b/eeschema/dialogs/panel_template_fieldnames.cpp @@ -89,7 +89,7 @@ PANEL_TEMPLATE_FIELDNAMES::~PANEL_TEMPLATE_FIELDNAMES() bool PANEL_TEMPLATE_FIELDNAMES::TransferDataToWindow() { - m_fields = m_templateMgr->GetTemplateFieldNames( true ); + m_fields = m_templateMgr->GetTemplateFieldNames( m_global ); return TransferDataToGrid(); }