From 904055912b06adc0f339591601814837feafd90b Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Fri, 21 Jun 2024 16:01:19 +0300 Subject: [PATCH] Fix attribute display comparison in EAGLE schematic import. --- eeschema/sch_io/eagle/sch_io_eagle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_io/eagle/sch_io_eagle.cpp b/eeschema/sch_io/eagle/sch_io_eagle.cpp index 4048148cbd..7f4b805a23 100644 --- a/eeschema/sch_io/eagle/sch_io_eagle.cpp +++ b/eeschema/sch_io/eagle/sch_io_eagle.cpp @@ -1883,7 +1883,7 @@ void SCH_IO_EAGLE::loadInstance( const std::unique_ptr& 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 ); }