7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 22:13:44 +00:00

Fix FOOTPRINT Python QA

This commit is contained in:
JamesJCode 2024-12-29 09:16:54 +00:00
parent b53a4abb7e
commit 5020b8a950

View File

@ -86,7 +86,7 @@
if self.HasFieldByName(key):
self.GetFieldByName(key).SetText(value)
else:
field = PCB_FIELD(self, self.GetFieldCount(), key)
field = PCB_FIELD(self, self.GetNextFieldId(), key)
field.SetText(value)
self.AddField(field)