Fix overwriting of section title
This commit is contained in:
parent
8f576d59df
commit
e96c7bad8a
@ -1437,7 +1437,7 @@ namespace Volian.Print.Library
|
|||||||
|| !itemInfo.Steps[0].FormatStepData.StepLayoutData.AlignWithParentTab)))
|
|| !itemInfo.Steps[0].FormatStepData.StepLayoutData.AlignWithParentTab)))
|
||||||
{
|
{
|
||||||
bool doprint = true;
|
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;
|
SectionConfig sch = MyItemInfo.MyConfig as SectionConfig;
|
||||||
if (sch != null && sch.Section_PrintHdr != "Y") doprint = false;
|
if (sch != null && sch.Section_PrintHdr != "Y") doprint = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user