Fixed an assert in DHEAD::append()
The previous one incorrectly expected the appended items to belong to the target list, instead of the source list.
This commit is contained in:
parent
2ed24a46b2
commit
f73b9a55a7
|
@ -101,7 +101,7 @@ void DHEAD::append( DHEAD& aList )
|
|||
// Change the item's list to me.
|
||||
for( EDA_ITEM* item = aList.first; item; item = item->Next() )
|
||||
{
|
||||
CHECK_OWNERSHIP( item );
|
||||
wxASSERT( item->GetList() == &aList );
|
||||
item->SetList( this );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue