Fixed(?) the PCB title block comments numbering is from 0
- Breaking compatibility with older KiCad again - Disregarding what the file and UI says
This commit is contained in:
parent
69189e661e
commit
285b205af8
|
|
@ -140,7 +140,8 @@ class GS(object):
|
|||
def get_pcb_comment(title_block, num):
|
||||
if GS.ki6(): # pragma: no cover (Ki6)
|
||||
# Backward compatibility ... what's this?
|
||||
return title_block.GetComment(num)
|
||||
# Also: Maintaining the same numbers used before (and found in the file) is asking too much?
|
||||
return title_block.GetComment(num-1)
|
||||
if num == 1:
|
||||
return title_block.GetComment1()
|
||||
if num == 2:
|
||||
|
|
|
|||
Loading…
Reference in New Issue