From 89cf1004259c860f29ed95de6106e66dc4766d11 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 10 Nov 2014 20:11:44 +0000 Subject: [PATCH] Fixed logic where a section that was set to print continuous started on its own page --- PROMS/Volian.Print.Library/Pagination.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index 0c2fbf84..5c9a7ca0 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -106,7 +106,7 @@ namespace Volian.Print.Library if (ChildrenBelow.Count > 1) firstChild = ChildrenBelow[1]; } - else if (firstChild != null && firstChild.MyItemInfo != null && !firstChild.MyItemInfo.IsNumbered) // If not numbered get the last child + else if (!MyItemInfo.IsSection && firstChild != null && firstChild.MyItemInfo != null && !firstChild.MyItemInfo.IsNumbered) // If not numbered get the last child firstChild = firstChild.MyParent.ChildrenBelow[firstChild.MyParent.ChildrenBelow.Count - 1]; float ySizeIncludingFirst = firstChild == null ? YSize : firstChild.YSize + (firstChild.YTopMost - YTopMost); bool KeepStepsOnPage = MyItemInfo.ActiveFormat.MyStepSectionLayoutData.KeepStepsOnPage;