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

No files matched your search

+1 -1
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;
}