Fix copy-pasta.

This commit is contained in:
Jeff Young 2020-09-08 11:01:13 +01:00
parent b205c01c5b
commit 054b5aa475
1 changed files with 1 additions and 1 deletions

View File

@ -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;