From 44b0ef64e8f633c36b7daf44ff8aed90cdad6f20 Mon Sep 17 00:00:00 2001 From: John Beard Date: Thu, 16 May 2024 21:36:20 +0800 Subject: [PATCH] No longer auto-set the Footprint field when setting the FPID This avoids forcing the field to the footprint name in the library editor, which gets in the way. This doesn't specifically inhibit the use of the field, and doesn't interfere with fields users may have set manually (it can be cleared manually if wished). Removing the footprint field entirely either from all footprints or from footprints in fpedit is quite a bit more invasive to existing designs. Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/17998 --- pcbnew/footprint.h | 1 - 1 file changed, 1 deletion(-) diff --git a/pcbnew/footprint.h b/pcbnew/footprint.h index 825dce5a32..17d9f3f3ec 100644 --- a/pcbnew/footprint.h +++ b/pcbnew/footprint.h @@ -231,7 +231,6 @@ public: void SetFPID( const LIB_ID& aFPID ) { m_fpid = aFPID; - Footprint().SetText( aFPID.Format() ); } wxString GetFPIDAsString() const { return m_fpid.Format(); }