mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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 )
|
||||
newField.SetText( *attr->value );
|
||||
|
||||
newField.SetVisible( ( attr->display == "off" ) ? false : true );
|
||||
newField.SetVisible( ( attr->display == EATTR::Off ) ? false : true );
|
||||
|
||||
symbol->AddField( newField );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user