Added a check for Enhanced Backgounds in the CalcStepLevel function
This commit is contained in:
parent
8b8176510f
commit
73ce62d4c8
@ -1125,7 +1125,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// the addition of the parent.IsNote, the note was breaking between 2 ANDs (the 1st AND was a
|
||||
// steplevel of 5, but the 2nd was a steplevel of 4). If something similar is seen with Cautions,
|
||||
// that check could be added.
|
||||
if (!item.IsRNOPart && !item.IsHigh && (item.MyPrevious == null || item.MyParent.IsNote))
|
||||
if (!item.IsRNOPart && !item.IsHigh && (item.MyPrevious == null || (((item.ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.EnhancedBackgrounds) != E_PurchaseOptions.EnhancedBackgrounds) && item.MyParent.IsNote)))
|
||||
level += firstInc;
|
||||
else
|
||||
firstInc = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user