7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 08:51:42 +00:00

Eagle SCH import: validate package (footprint) names

This commit is contained in:
Maciej Suminski 2018-06-06 10:12:04 +02:00
parent 51c7381fd5
commit 228881f552

View File

@ -1262,6 +1262,7 @@ EAGLE_LIBRARY* SCH_EAGLE_PLUGIN::loadLibrary( wxXmlNode* aLibraryNode,
wxString symbolName = edeviceset.name + edevice.name;
symbolName.Replace( "*", "" );
wxASSERT( !symbolName.IsEmpty() );
LIB_ALIAS::ValidateName( symbolName );
if( edevice.package )
aEagleLibrary->package[symbolName] = edevice.package.Get();