From 6c9d0a4721ae34db9749ebe6b1ab269970665796 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 20 Feb 2020 16:57:19 +0000 Subject: [PATCH] B2020-021: After creating an Automatic Table of Contents section, a word document is displayed in the editor --- PROMS/VEPROMS User Interface/frmSectionProperties.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 28e95197..3cc16e6b 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -272,7 +272,8 @@ namespace VEPROMS private void FinishSectionSave(Section section) { ItemInfo sectinfo = ItemInfo.Get(section.ItemID); - + // B2020-021: Clear MyDocStyle so that it will be re-read in code checking for auto TOC below + sectinfo.MyDocStyle = null; // need to find out if this is a word document type section & if it is, create a new word doc. bool isWordSect = true; int sectype = (int)sectinfo.MyContent.Type - 10000;