Handle hidden attribute in fp-lib-table

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13689
This commit is contained in:
Jon Evans
2023-01-28 09:23:25 -05:00
parent b1018e8eeb
commit d04cda35c5
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -184,6 +184,12 @@ void FP_LIB_TABLE::Parse( LIB_TABLE_LEXER* in )
row->SetEnabled( false );
break;
case T_hidden:
// Hiding footprint libraries is not yet supported. Unclear what path can set this
// attribute, but clear it on load.
row->SetVisible();
break;
default:
in->Unexpected( tok );
}