This commit is contained in:
Kathy Ruffing 2010-12-07 12:43:36 +00:00
parent e3d2fe5d23
commit db2037344a

View File

@ -105,7 +105,8 @@ namespace Volian.Controls.Library
groupPanelChgStepType.Style.BackColor = Color.Cornsilk; groupPanelChgStepType.Style.BackColor = Color.Cornsilk;
groupPanelMisc.Style.BackColor = Color.Cornsilk; groupPanelMisc.Style.BackColor = Color.Cornsilk;
groupPanelCheckoff.Style.BackColor = Color.Cornsilk; groupPanelCheckoff.Style.BackColor = Color.Cornsilk;
cbPageBreak.Enabled = true; // these may have been set to false if non-step item was selected. cbPageBreak.Checked = false; // will be set below if HLS & config has it on
cbPageBreak.Enabled = _CurItemInfo.IsHigh;
cbCAS.Enabled = true; cbCAS.Enabled = true;
rbChgBarOff.Enabled = true; rbChgBarOff.Enabled = true;
rbChgBarOn.Enabled = true; rbChgBarOn.Enabled = true;
@ -126,12 +127,12 @@ namespace Volian.Controls.Library
if (sc == null) // if there is no config data, Page Break and CAS check boxes are false if (sc == null) // if there is no config data, Page Break and CAS check boxes are false
{ {
cbPageBreak.Checked = false; if (_CurItemInfo.IsHigh)cbPageBreak.Checked = false;
cbCAS.Checked = false; cbCAS.Checked = false;
} }
else // otherwise, get data from config else // otherwise, get data from config
{ {
cbPageBreak.Checked = sc.Step_ManualPagebreak; if (_CurItemInfo.IsHigh) cbPageBreak.Checked = sc.Step_ManualPagebreak;
cbCAS.Checked = sc.Step_CAS; cbCAS.Checked = sc.Step_CAS;
} }