diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index a736bf26..3725eae8 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -281,14 +281,17 @@ namespace VEPROMS // 'editable data', the steps are not shown in editor or print. // show the automatic indent checkbox. ppCbEditableData.Enabled = _SectionConfig.MySection.MySectionInfo.Sections != null && _SectionConfig.MySection.MySectionInfo.Sections.Count > 0; + ppCbEditableData.Visible = _isStepSection; // only display if we are on a step editor section //ppCbAutoIndent.Enabled = _SectionConfig.MySection.MySectionInfo.Sections != null && _SectionConfig.MySection.MySectionInfo.Sections.Count > 0; ppCbAutoIndent.Enabled = pf.FormatData.SectData.UseMetaSections; + ppCbAutoIndent.Visible = _isStepSection; // only display if we are on a step editor section // Check for the print section num/title config item to determine whether that checkbox should // be checked. - ppCbPrnSecNumTitle.Enabled = true; // pf.FormatData.SectData.UseMetaSections; + ppCbPrnSecNumTitle.Enabled = _isStepSection;//true; // pf.FormatData.SectData.UseMetaSections; //ppCbPrnSecNumTitle.Checked = ppCbPrnSecNumTitle.Enabled && _SectionConfig.Section_PrintHdr != "N"; - ppCbPrnSecNumTitle.Checked = _SectionConfig.Section_PrintHdr != "N"; + ppCbPrnSecNumTitle.Checked = (_isStepSection &&_SectionConfig.Section_PrintHdr != "N"); + ppCbPrnSecNumTitle.Visible = _isStepSection; // only display if we are on a step editor section // check if format has automated table of contents, if so, check if config flag is set that this // section should be included.