Revert "Fix SCH_SHEET object assignment operator bug."

This reverts commit 37d53a7147.
This commit is contained in:
Wayne Stambaugh 2021-12-06 07:47:02 -05:00
parent b9e66d8b98
commit 5ae844ba93
1 changed files with 1 additions and 1 deletions

View File

@ -1096,7 +1096,7 @@ SCH_SHEET& SCH_SHEET::operator=( const SCH_ITEM& aItem )
m_pins.back()->SetParent( this );
}
m_pageNumber = sheet->m_pageNumber;
m_pageNumber = m_pageNumber;
}
return *this;