Fix SCH_SHEET object assignment operator bug.

This commit is contained in:
Wayne Stambaugh 2021-12-01 07:19:30 -05:00
parent 3a00d76207
commit 37d53a7147
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 = m_pageNumber;
m_pageNumber = sheet->m_pageNumber;
}
return *this;