Collapse LIB_FIELD into SCH_FIELD.

This commit is contained in:
Jeff Young
2024-04-13 15:42:13 +01:00
parent c241796968
commit d77eae3e7e
84 changed files with 1320 additions and 2439 deletions
+1 -4
View File
@@ -413,10 +413,7 @@ EDA_ITEM* SCH_COMMIT::parentObject( EDA_ITEM* aItem ) const
{
EDA_ITEM* parent = aItem->GetParent();
if( parent && parent->Type() == SCH_SYMBOL_T )
return parent;
if( parent && parent->Type() == LIB_SYMBOL_T )
if( parent && ( parent->Type() == SCH_SYMBOL_T || parent->Type() == LIB_SYMBOL_T ) )
return parent;
if( m_isLibEditor )