From e96c7bad8a6d73e3c53a4b89ffb9a13158411bcc Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 18 Jul 2013 12:47:37 +0000 Subject: [PATCH] Fix overwriting of section title --- PROMS/Volian.Print.Library/vlnParagraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 81bded37..31f616ff 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -1437,7 +1437,7 @@ namespace Volian.Print.Library || !itemInfo.Steps[0].FormatStepData.StepLayoutData.AlignWithParentTab))) { bool doprint = true; - if (MyItemInfo.IsSection) // if on a section, be sure that section title should print. + if (MyItemInfo.IsSection && formatInfo.PlantFormat.FormatData.SectData.UseMetaSections) // if on a section, be sure that section title should print. { SectionConfig sch = MyItemInfo.MyConfig as SectionConfig; if (sch != null && sch.Section_PrintHdr != "Y") doprint = false;