Don’t try to initialize the signoff drop-down if there are no sighoffs
Added logic to support Prerequisite step information and to handle the indent character Logic to pass font information to the Placekeeper logic
This commit is contained in:
@@ -208,7 +208,7 @@ namespace Volian.Controls.Library
|
||||
fmtdata.ProcData.CheckOffData.Menu == "Signoff")
|
||||
{
|
||||
SectionConfig secf = CurItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||
if (secf.Section_CheckoffListSelection > 0) cmbCheckoff.SelectedIndex = secf.Section_CheckoffListSelection - ((fmtdata.ProcData.CheckOffData.Menu == "Signoff") ? 0 : 1);
|
||||
if (secf.Section_CheckoffListSelection > 0 && cmbCheckoff.Items.Count > 0) cmbCheckoff.SelectedIndex = secf.Section_CheckoffListSelection - ((fmtdata.ProcData.CheckOffData.Menu == "Signoff") ? 0 : 1);
|
||||
cmbCheckoff.Enabled = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user