diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 2684eaf4..7bbd7012 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -1594,18 +1594,21 @@ namespace VEPROMS.CSLA.Library } #endregion #region Change Bar - public bool HasChangeBar() + public bool HasChangeBar { - if (this.IsAccPages || this.IsProcedure || this.IsSection) return false; - StepInfo si = this as StepInfo; - if (si == null) return false; - StepConfig sc = si.MyConfig as StepConfig; - if (sc == null) return false; - // if there is no override & return whether there was a change to the text. - if (sc.Step_CBOverride == null) - return (DTS > MyProcedure.DTS); - else // override is on: - return (sc.Step_CBOverride == "On"); + get + { + if (this.IsAccPages || this.IsProcedure || this.IsSection) return false; + StepInfo si = this as StepInfo; + if (si == null) return false; + StepConfig sc = si.MyConfig as StepConfig; + if (sc == null) return false; + // if there is no override & return whether there was a change to the text. + if (sc.Step_CBOverride == null) + return (DTS > MyProcedure.DTS); + else // override is on: + return (sc.Step_CBOverride == "On"); + } } #endregion #region IVEReadOnlyItem