From fe10e6036f75dca09ef83c4d30bd0b9ee98864fe Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 12 Jul 2025 09:45:43 +0100 Subject: [PATCH] We're creating the symbol library, so if it's not in the cache, then it's not in the library. --- eeschema/sch_io/altium/sch_io_altium.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eeschema/sch_io/altium/sch_io_altium.cpp b/eeschema/sch_io/altium/sch_io_altium.cpp index 060c467361..0ca9eaa96b 100644 --- a/eeschema/sch_io/altium/sch_io_altium.cpp +++ b/eeschema/sch_io/altium/sch_io_altium.cpp @@ -3653,10 +3653,6 @@ void SCH_IO_ALTIUM::ParsePowerPort( const std::map& aPropert { libSymbol = powerSymbolIt->second; // cache hit } - else if( LIB_SYMBOL* alreadyLoaded = m_pi->LoadSymbol( getLibFileName().GetFullPath(), symName ) ) - { - libSymbol = alreadyLoaded; - } else { libSymbol = new LIB_SYMBOL( wxEmptyString );