B2018-072 Fixed infinite loop when expanding last step of procedure that has only a high level RNO with substeps

This commit is contained in:
John Jenko 2018-05-08 19:58:29 +00:00
parent e5e2fb777e
commit b5df7ffc1c

View File

@ -2503,6 +2503,8 @@ namespace Volian.Controls.Library
MyStepPanel.ItemMoving--;
}
}
else // B2018-072 nextEditItem is null, remove "this" from AdjustItems list, otherwise get infinate loop in ProcessAdjustItems() on last HSL with RNO but no AER substeps
if (AdjustItems.Contains(this)) AdjustItems.Remove(this);
}
private static List<EditItem> _AdjustItems=new List<EditItem>();// B2017-175 Keep a list of EditItems to adjust after expanding
public static List<EditItem> AdjustItems