From e35ef0615d3480c586aca14c29739300cc70cd21 Mon Sep 17 00:00:00 2001 From: Rich Date: Fri, 1 May 2015 13:32:43 +0000 Subject: [PATCH] Get list of external transitions to children of a procedure --- PROMS/Volian.Controls.Library/EditItem.cs | 2 +- PROMS/Volian.Controls.Library/vlnTreeView.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/EditItem.cs b/PROMS/Volian.Controls.Library/EditItem.cs index 0e1cca23..ba800415 100644 --- a/PROMS/Volian.Controls.Library/EditItem.cs +++ b/PROMS/Volian.Controls.Library/EditItem.cs @@ -795,7 +795,7 @@ namespace Volian.Controls.Library } else if (ex.Message.Contains("has External Transitions to Procedure")) { - using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(MyID)) + using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(MyID)) { DialogResult ans = MessageBox.Show("Transitions exist to this procedure." + "\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" + diff --git a/PROMS/Volian.Controls.Library/vlnTreeView.cs b/PROMS/Volian.Controls.Library/vlnTreeView.cs index 51e46294..f4925595 100644 --- a/PROMS/Volian.Controls.Library/vlnTreeView.cs +++ b/PROMS/Volian.Controls.Library/vlnTreeView.cs @@ -2273,7 +2273,7 @@ namespace Volian.Controls.Library } else if (ex.Message.Contains("has External Transitions to Procedure")) { - using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(ii.ItemID)) + using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ii.ItemID)) { DialogResult ans = MessageBox.Show("Transitions exist to this procedure and cannot be adjusted automatically." + "\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +