fix for ColumnMode usage
This commit is contained in:
parent
1dcda26a99
commit
23ed5913db
@ -699,7 +699,8 @@ namespace VEPROMS.CSLA.Library
|
||||
SectionInfo si = SectionInfo.Get(ActiveSection.ItemID); //ActiveSection as SectionInfo;
|
||||
if (si != null)
|
||||
{
|
||||
if (si.SectionConfig.Section_ColumnMode != SectionConfig.SectionColumnMode.Default)
|
||||
// there is no longer a "default" ENUM item - SectionConfig will return format default if needed
|
||||
//if (si.SectionConfig.Section_ColumnMode != SectionConfig.SectionColumnMode.Default)
|
||||
return (int)si.SectionConfig.Section_ColumnMode - 1;
|
||||
}
|
||||
return (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.PMode ?? 2) -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user