Fixed the tab level logic for Westinghouse Attachment sections (single column format)
This commit is contained in:
parent
d432a980d7
commit
eb39dbf6e5
@ -3769,7 +3769,9 @@ namespace VEPROMS.CSLA.Library
|
||||
ItemInfo ii = this;
|
||||
while (!ii.IsProcedure)
|
||||
{
|
||||
if (ii.IsSection) level++;
|
||||
// fix for Westinghouse single column
|
||||
// - increament the level on a section only if the first character is a number B2016-075 03-09-2016
|
||||
if (ii.IsSection && (ii.MyTab.Text == null || char.IsNumber(ii.MyTab.Text.Trim()[0]))) level++;
|
||||
ii = ii.ActiveParent as ItemInfo;
|
||||
}
|
||||
return level;
|
||||
|
Loading…
x
Reference in New Issue
Block a user