Altium schematic import: fix power port styles.

Need to use the symbol name with style, like "VCC_CIRCLE", not "VCC".

Issue was introduced in d939004bbd

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18209
This commit is contained in:
Alex Shvartzkop 2024-06-22 06:45:23 +03:00
parent f6994702aa
commit 4e3488c2e0
1 changed files with 2 additions and 2 deletions

View File

@ -3356,8 +3356,8 @@ void SCH_IO_ALTIUM::ParsePowerPort( const std::map<wxString, wxString>& aPropert
{ {
libSymbol = powerSymbolIt->second; // cache hit libSymbol = powerSymbolIt->second; // cache hit
} }
else if( LIB_SYMBOL* alreadyLoaded = m_pi->LoadSymbol( getLibFileName().GetFullPath(), else if( LIB_SYMBOL* alreadyLoaded = m_pi->LoadSymbol( getLibFileName().GetFullPath(), symName,
elem.text, m_properties.get() ) ) m_properties.get() ) )
{ {
libSymbol = alreadyLoaded; libSymbol = alreadyLoaded;
} }