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(); }