diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index ab68c9a1d2..98816c434e 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -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;