diff --git a/pcbnew/pcb_field.cpp b/pcbnew/pcb_field.cpp index 1b431f8318..7ccffc8f93 100644 --- a/pcbnew/pcb_field.cpp +++ b/pcbnew/pcb_field.cpp @@ -38,6 +38,8 @@ PCB_FIELD::PCB_FIELD( FOOTPRINT* aParent, FIELD_T aFieldId, const wxString& aNam { if( m_id == FIELD_T::USER ) m_ordinal = aParent->GetNextFieldOrdinal(); + else + m_ordinal = 0; }