From f4b5b65342408714b0f9e504b7f01763d91a2dcb Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 24 Apr 2022 16:22:41 +0100 Subject: [PATCH] Initialize virtual page no. to something more reasonable. Fixes https://gitlab.com/kicad/code/kicad/issues/11295 (cherry picked from commit 52eb210aa824c38dac784e73897a1ab118252497) --- eeschema/sch_sheet_path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_sheet_path.cpp b/eeschema/sch_sheet_path.cpp index 6c68b5f11f..6b06ca0175 100644 --- a/eeschema/sch_sheet_path.cpp +++ b/eeschema/sch_sheet_path.cpp @@ -97,7 +97,7 @@ namespace std SCH_SHEET_PATH::SCH_SHEET_PATH() { - m_virtualPageNumber = 0; + m_virtualPageNumber = 1; m_current_hash = 0; }