B2017-166 Verify that the step type should change before changing step type
This commit is contained in:
parent
c37948a2f3
commit
8f29d66215
@ -497,6 +497,12 @@ namespace Volian.Controls.Library
|
|||||||
private void listBoxStepTypes_SelectedIndexChanged(object sender, EventArgs e)
|
private void listBoxStepTypes_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (_Initalizing) return;
|
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;
|
EditItem topEditItem = MyEditItem;
|
||||||
MyEditItem.SaveContents();
|
MyEditItem.SaveContents();
|
||||||
FormatData fmtdata = CurItemInfo.ActiveFormat.PlantFormat.FormatData;
|
FormatData fmtdata = CurItemInfo.ActiveFormat.PlantFormat.FormatData;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user