From 054b5aa47548617c36e73d6cdcb20e55a722b53d Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 8 Sep 2020 11:01:13 +0100 Subject: [PATCH] Fix copy-pasta. --- eeschema/sch_component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_component.cpp b/eeschema/sch_component.cpp index 1054d6b22b..e600d6f655 100644 --- a/eeschema/sch_component.cpp +++ b/eeschema/sch_component.cpp @@ -634,7 +634,7 @@ void SCH_COMPONENT::SetFootprint( const SCH_SHEET_PATH* sheet, const wxString& a { // Clear instance overrides and set primary field value for( COMPONENT_INSTANCE_REFERENCE& instance : m_instanceReferences ) - instance.m_Value = wxEmptyString; + instance.m_Footprint = wxEmptyString; m_Fields[ FOOTPRINT ].SetText( aFootprint ); return;