B2020-109: sub-step not included in list of transitions to when deleting a step

This commit is contained in:
Kathy Ruffing 2020-09-28 14:34:53 +00:00
parent eb00c11c8f
commit 81f7cc5592

View File

@ -1032,7 +1032,7 @@ namespace Volian.Controls.Library
// C2020-018 made the messaging consistent in the message boxes
if (ex.Message.Contains("has External Transitions and has no next step"))
{
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(MyID))
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(MyID)) // B2020-109: look at substeps too
{
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
"\r\n\r\nDo you want to be placed at the " + (exTrans.Count > 1 ? "first " : "") + "location with the problem Transition?" +