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:
parent
b53a4abb7e
commit
5020b8a950
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user