From 3ba3023ef0808e9f65eccdbe449ce2f17e3064b2 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Mon, 14 May 2018 15:05:29 -0500 Subject: [PATCH] Changed links get done in action --- EduNetworkBuilder/NetworkBuilder.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 98bacbc..2087215 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -1277,9 +1277,12 @@ namespace EduNetworkBuilder if (thing.Tag != null) { NetworkLink NL = (NetworkLink)thing.Tag; + NetworkLink oldLink = NetworkLink.Clone(NL); //This may delete the old link and make a new one LinkEditor LE = new LinkEditor(NL); LE.ShowDialog(); + if (!NL.Equals(oldLink)) + NB.DoActionChangeComponent(NL); } myNetwork.TestForCompletion(true); pbNetworkView.Update();