Reset the override changebar setting if the ChangeID is changed (calvert)

This commit is contained in:
John Jenko 2015-03-16 13:40:07 +00:00
parent 6c657832a2
commit 83c2ce7e66

View File

@ -486,7 +486,12 @@ namespace Volian.Controls.Library
{
MyEditItem.SaveContents();
StepConfig sc = CurItemInfo.MyConfig as StepConfig;
sc.Step_ChangeID = tbChgID.Text;
// if the changeID changed, then reset the change bar override
if (sc.Step_ChangeID != tbChgID.Text)
{
sc.Step_ChangeID = tbChgID.Text;
sc.Step_CBOverride = null;
}
}
}
}