diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs index ff7e5102..440222fe 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs @@ -976,6 +976,7 @@ namespace VEPROMS this.ppCbAutoIndent.TabIndex = 56; this.ppCbAutoIndent.Text = "Automatic Indent"; this.ppCbAutoIndent.UseVisualStyleBackColor = false; + this.ppCbAutoIndent.CheckedChanged += new System.EventHandler(this.ppCbAutoIndent_CheckedChanged); // // ppCbEditableData // diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 2b367606..d71dccd2 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -853,7 +853,12 @@ namespace VEPROMS if (!_Initializing) _SectionConfig.Section_PrintHdr = isEditable ? "Y" : "N"; } - + private void ppCbAutoIndent_CheckedChanged(object sender, EventArgs e) + { + bool isEditable = ppCbAutoIndent.Checked; + if (!_Initializing) + _SectionConfig.SubSection_AutoIndent = isEditable ? "Y" : "N"; + } private void ppCbIncTOC_CheckedChanged(object sender, EventArgs e) { bool isInToc = ppCbIncTOC.Checked;