Added component fields validation to v6 loader.

This commit is contained in:
Diego Capusotto 2021-12-17 15:45:59 -03:00
parent e70172c83f
commit 8de3982dad
1 changed files with 2 additions and 0 deletions

View File

@ -1155,5 +1155,7 @@ class SchematicV6(Schematic):
lib_symbol = LibComponent()
comp.lib_symbol = lib_symbol
comp.is_power = lib_symbol.is_power
# Now we have all the data
comp._validate()
# Add it to the list
self.components.append(comp)