Changed links get done in action
This commit is contained in:
parent
1d917fd097
commit
3ba3023ef0
@ -1277,9 +1277,12 @@ namespace EduNetworkBuilder
|
|||||||
if (thing.Tag != null)
|
if (thing.Tag != null)
|
||||||
{
|
{
|
||||||
NetworkLink NL = (NetworkLink)thing.Tag;
|
NetworkLink NL = (NetworkLink)thing.Tag;
|
||||||
|
NetworkLink oldLink = NetworkLink.Clone(NL);
|
||||||
//This may delete the old link and make a new one
|
//This may delete the old link and make a new one
|
||||||
LinkEditor LE = new LinkEditor(NL);
|
LinkEditor LE = new LinkEditor(NL);
|
||||||
LE.ShowDialog();
|
LE.ShowDialog();
|
||||||
|
if (!NL.Equals(oldLink))
|
||||||
|
NB.DoActionChangeComponent(NL);
|
||||||
}
|
}
|
||||||
myNetwork.TestForCompletion(true);
|
myNetwork.TestForCompletion(true);
|
||||||
pbNetworkView.Update();
|
pbNetworkView.Update();
|
||||||
|
Loading…
Reference in New Issue
Block a user