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:
2014-06-26 20:19:58 +00:00
parent 78384ce643
commit 76cec2c961
3 changed files with 70 additions and 10 deletions

View File

@@ -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;
}