B2024-092 Add Initial Line/Ability to Disable to UI for South Texas
This commit is contained in:
@@ -559,7 +559,7 @@ namespace Volian.Controls.Library
|
||||
//CSM F2024 - 080: For South Texas (HLP formats), enable the initial line checkbox if it is in the formats
|
||||
//Also, they want disable being selected to impact substeps - so do not show toggle if selected on a parent step
|
||||
cbInitialLine.Visible = cbInitialLine.Enabled = false;
|
||||
if (CurItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ShowInitialLineDisable && !string.IsNullOrEmpty(CurItemInfo.FormatStepData.TabData.MacroEditTag) && CurItemInfo.FormatStepData.TabData.MacroEditTag == "_" && CurItemInfo.FormatStepData.TabData.MacroList != null && CurItemInfo.FormatStepData.TabData.MacroList.Count > 0 && !(CurItemInfo.IsRNOPart && CurItemInfo.FormatStepData.TabData.MacroList[0].NotInRNO))
|
||||
if (CurItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ShowInitialLineDisable && !string.IsNullOrEmpty(CurItemInfo.FormatStepData?.TabData?.MacroEditTag) && CurItemInfo.FormatStepData.TabData.MacroEditTag == "_" && CurItemInfo.FormatStepData.TabData.MacroList != null && CurItemInfo.FormatStepData.TabData.MacroList.Count > 0 && !(CurItemInfo.IsRNOPart && CurItemInfo.FormatStepData.TabData.MacroList[0].NotInRNO))
|
||||
{
|
||||
cbInitialLine.Visible = cbInitialLine.Enabled = true;
|
||||
cbInitialLine.Checked = sc.Step_DisableInitialLine;
|
||||
|
Reference in New Issue
Block a user