Added SpecialCaseWestinghouse flag

Added SpecialCaseWestinghouse flag to prevent using logic that cause the sub-section to print in the page header
This commit is contained in:
2014-05-13 21:13:37 +00:00
parent 10476988e0
commit 37afbace90
2 changed files with 9 additions and 1 deletions

View File

@@ -833,7 +833,7 @@ namespace Volian.Print.Library
{
// For BGE, the very first subsection's pagelist items were not correct - the section/meta section titles were
// at the wrong level. Reset the page helper's section.
if (MyItemInfo.IsSection && MyItemInfo.MyPrevious == null && MyItemInfo.MyParent.IsSection)
if (MyItemInfo.IsSection && MyItemInfo.MyPrevious == null && MyItemInfo.MyParent.IsSection && !MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseWestinghouse)
{
MyPageHelper.MySection = MyItemInfo as SectionInfo;
MyPageHelper.ResetSvg();