C2025-022-Remove-UCF-2
This commit is contained in:
@@ -315,12 +315,6 @@ namespace Volian.Controls.Library
|
||||
|
||||
if (StepOverRide()) cmbCheckoff.Enabled = false; // Checkoffs already assigned to AER
|
||||
|
||||
//// if there are no checkoffs OR
|
||||
//// if this is a sign-off, the checkoff list is not enabled either (matches 16bit functionality) At some point, we
|
||||
//// may want to allow them to turn off the checkoff
|
||||
//if ((fmtdata.ProcData.CheckOffData.CheckOffList == null || fmtdata.ProcData.CheckOffData.CheckOffList.Count == 0) ||
|
||||
// fmtdata.ProcData.CheckOffData.Menu=="Signoff")
|
||||
// cmbCheckoff.Enabled = false;
|
||||
cbCAS.Enabled = (!CurItemInfo.IsFigure && !CurItemInfo.IsRtfRaw);
|
||||
cbTCAS.Enabled = (!CurItemInfo.IsFigure && !CurItemInfo.IsRtfRaw); //F2022-024 Time Critical Action Summary
|
||||
if (((CurItemInfo.ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedBackgrounds) == E_PurchaseOptions.EnhancedBackgrounds) ||
|
||||
@@ -856,21 +850,6 @@ namespace Volian.Controls.Library
|
||||
MyEditItem.SaveContents();
|
||||
// set selected index in the step's config.
|
||||
int indx = _CheckOffIndex[cmbCheckoff.SelectedIndex]; // C2020-003 get the non-sorted index from the sorted index
|
||||
// get index, if greater than 100, store that - otherwise store index down list.
|
||||
// if this format does not have ucf signoffs, indx is just the selected index from the combo box.
|
||||
//if (CurItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffUCF)
|
||||
//{
|
||||
// // get index, if greater than 100, store that - otherwise store index down list.
|
||||
// // if this format does not have ucf signoffs, indx is just the selected index from the combo mobx.
|
||||
// foreach (CheckOff co in CurItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffList)
|
||||
// {
|
||||
// if (cmbCheckoff.SelectedItem == co.MenuItem)
|
||||
// {
|
||||
// if ((int)co.Index >= 100) indx = (int)co.Index;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
StepConfig sc = CurItemInfo.MyConfig as StepConfig;
|
||||
sc.Step_CheckOffIndex = indx;
|
||||
//using (Content cnt = Content.Get(CurItemInfo.MyContent.ContentID))
|
||||
|
Reference in New Issue
Block a user