Changed links get done in action

This commit is contained in:
Tim Young 2018-05-14 15:05:29 -05:00
parent 1d917fd097
commit 3ba3023ef0
1 changed files with 3 additions and 0 deletions

View File

@ -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();