diff --git a/eeschema/sch_io/altium/sch_io_altium.cpp b/eeschema/sch_io/altium/sch_io_altium.cpp index 146300d55b..8f57efcf2a 100644 --- a/eeschema/sch_io/altium/sch_io_altium.cpp +++ b/eeschema/sch_io/altium/sch_io_altium.cpp @@ -3356,8 +3356,8 @@ void SCH_IO_ALTIUM::ParsePowerPort( const std::map& aPropert { libSymbol = powerSymbolIt->second; // cache hit } - else if( LIB_SYMBOL* alreadyLoaded = m_pi->LoadSymbol( getLibFileName().GetFullPath(), - elem.text, m_properties.get() ) ) + else if( LIB_SYMBOL* alreadyLoaded = m_pi->LoadSymbol( getLibFileName().GetFullPath(), symName, + m_properties.get() ) ) { libSymbol = alreadyLoaded; }