Bug Fix 2015-084 for Ginn’a Attachment format. Fixed logic that determines if a group of Cautions / Notes get a bullet.
This commit is contained in:
parent
5b527ff533
commit
791549a700
@ -3962,8 +3962,10 @@ namespace VEPROMS.CSLA.Library
|
||||
// treat cautions and notes as different if they are all NOT exactly the same type
|
||||
if (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.OnlyBulletSameCautionNoteType)
|
||||
{
|
||||
if (MyPrevious != null && MyPrevious.MyContent.Type != MyContent.Type) return true;
|
||||
if (NextItem != null && NextItem.MyContent.Type != MyContent.Type) return true;
|
||||
if (MyPrevious != null && MyPrevious.MyContent.Type != MyContent.Type &&
|
||||
((MyPrevious.IsCaution && this.IsCaution) || (MyPrevious.IsNote && this.IsNote))) return true;
|
||||
if (NextItem != null && NextItem.MyContent.Type != MyContent.Type &&
|
||||
((NextItem.IsCaution && this.IsCaution) || (NextItem.IsNote && this.IsNote))) return true;
|
||||
}
|
||||
|
||||
if (!FormatStepData.MixCautionsAndNotes) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user