Set current sheet number when only annotating a single sheet.

Fixes: lp:1750096
* https://bugs.launchpad.net/kicad/+bug/1750096
This commit is contained in:
Jeff Young 2018-02-18 22:02:06 +00:00 committed by Wayne Stambaugh
parent 12247db467
commit d67ceea568
1 changed files with 2 additions and 0 deletions

View File

@ -519,6 +519,8 @@ void SCH_EDIT_FRAME::SetSheetNumberAndCount()
* path */
}
m_CurrentSheet->SetPageNumber( SheetNumber );
for( screen = s_list.GetFirst(); screen != NULL; screen = s_list.GetNext() )
{
screen->m_NumberOfScreens = sheet_count;