Browse Source

Fix attribute display comparison in EAGLE schematic import.

jobs
Alex Shvartzkop 1 year ago
parent
commit
904055912b
  1. 2
      eeschema/sch_io/eagle/sch_io_eagle.cpp

2
eeschema/sch_io/eagle/sch_io_eagle.cpp

@ -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…
Cancel
Save