parent
8464add58c
commit
1c6c0bf8cf
|
@ -139,7 +139,7 @@ void SCH_SCREEN::Append( SCH_ITEM* aItem )
|
||||||
{
|
{
|
||||||
auto it = m_libSymbols.find( symbol->GetSchSymbolLibraryName() );
|
auto it = m_libSymbols.find( symbol->GetSchSymbolLibraryName() );
|
||||||
|
|
||||||
if( it == m_libSymbols.end() )
|
if( it == m_libSymbols.end() || !it->second )
|
||||||
{
|
{
|
||||||
m_libSymbols[symbol->GetSchSymbolLibraryName()] =
|
m_libSymbols[symbol->GetSchSymbolLibraryName()] =
|
||||||
new LIB_PART( *symbol->GetPartRef() );
|
new LIB_PART( *symbol->GetPartRef() );
|
||||||
|
|
Loading…
Reference in New Issue