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
1 changed files with 1 additions and 0 deletions

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();