diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 3335ed27..1b70eae5 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -60,6 +60,15 @@ namespace VEPROMS // if creating a new section, enable the StepSect and WordSect radio buttons rbStepSect.Enabled = rbWordSect.Enabled = !(ii.HasWordContent || ii.HasStepContent); + // if this is an auto table of contents (mydocstyle == null if new section, so must check for that first) + if (ii.IsAutoTOCSection) + { + rbWordSect.Checked = true; + rbStepSect.Enabled = false; + rbWordSect.Enabled = false; + _isStepSection = false; + } + // if this has already been set to be a step section, i.e. HasStepContent, disable the libdoc tab // also disable if there is no word content yet - the user may want to change from step type to // word type, as long as there is no content yet.