Fix attribute display comparison in EAGLE schematic import.
This commit is contained in:
parent
acec5552c0
commit
904055912b
|
@ -1883,7 +1883,7 @@ void SCH_IO_EAGLE::loadInstance( const std::unique_ptr<EINSTANCE>& aInstance,
|
||||||
if( attr->value )
|
if( attr->value )
|
||||||
newField.SetText( *attr->value );
|
newField.SetText( *attr->value );
|
||||||
|
|
||||||
newField.SetVisible( ( attr->display == "off" ) ? false : true );
|
newField.SetVisible( ( attr->display == EATTR::Off ) ? false : true );
|
||||||
|
|
||||||
symbol->AddField( newField );
|
symbol->AddField( newField );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue