Fix attribute display comparison in EAGLE schematic import.

This commit is contained in:
Alex Shvartzkop 2024-06-21 16:01:19 +03:00
parent acec5552c0
commit 904055912b
1 changed files with 1 additions and 1 deletions

View File

@ -1883,7 +1883,7 @@ void SCH_IO_EAGLE::loadInstance( const std::unique_ptr<EINSTANCE>& aInstance,
if( attr->value )
newField.SetText( *attr->value );
newField.SetVisible( ( attr->display == "off" ) ? false : true );
newField.SetVisible( ( attr->display == EATTR::Off ) ? false : true );
symbol->AddField( newField );
}