Eeschema: add save code to legacy symbol library plugin.
Make LIB_PART copy constructor take a const LIB_PART reference. Add SaveSymbol to legacy symbol library plugin. Add removeAlias to legacy symbol library cache. Add AddSymbol to legacy symbol library cache.
This commit is contained in:
@@ -242,7 +242,7 @@ bool PART_LIB::AddPart( LIB_PART* aPart )
|
||||
}
|
||||
|
||||
// add a clone, not the caller's copy
|
||||
LIB_PART* my_part = new LIB_PART( *aPart, this );
|
||||
LIB_PART* my_part = new LIB_PART( *aPart );
|
||||
|
||||
for( size_t i = 0; i < my_part->m_aliases.size(); i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user