diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 79000714..90271c1f 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -1971,9 +1971,18 @@ namespace VEPROMS.CSLA.Library set { if (_MyConfig == null) return; - // MyContent.Config = value; + _MyConfig = null; + //MyContent.Config = value; } } + public void RefreshConfig() + { + string key = ItemID.ToString(); + ConvertListToDictionary(); + if (_CacheByPrimaryKey.ContainsKey(key)) + foreach (ItemInfo tmpInfo in _CacheByPrimaryKey[key]) + tmpInfo.MyConfig = null; + } //public bool HasStandardSteps() //{ return MyContent.ContentItemCount > 1; } public Color ForeColor @@ -2564,7 +2573,7 @@ namespace VEPROMS.CSLA.Library // the section default. SectionConfig sc = ActiveSection.MyConfig as SectionConfig; if (sc == null) return false; - if (sc.Section_CheckoffHeaderSelection <= 0) return false; + if (sc.Section_CheckoffHeaderSelection < 0) return false; return true; } private int CheckOffIndex()