B2017-166 Verify that the step type should change before changing step type

This commit is contained in:
Rich 2017-08-07 19:01:15 +00:00
parent c37948a2f3
commit 8f29d66215

View File

@ -497,6 +497,12 @@ namespace Volian.Controls.Library
private void listBoxStepTypes_SelectedIndexChanged(object sender, EventArgs e)
{
if (_Initalizing) return;
// B2017-166 Verify before making step type change
if (MessageBox.Show("Change Step Type?", "Verify Step Type Change", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
{
TagsFillIn();
return;
}
EditItem topEditItem = MyEditItem;
MyEditItem.SaveContents();
FormatData fmtdata = CurItemInfo.ActiveFormat.PlantFormat.FormatData;