change device ( action) when edited.

This commit is contained in:
Tim Young 2018-05-14 15:13:53 -05:00
parent 13557c743f
commit 074d6c22c5

View File

@ -1353,8 +1353,11 @@ namespace EduNetworkBuilder
return;
if (ItemClickedOn != null)
{
NetworkDevice oldND = NetworkDevice.Clone(ItemClickedOn);
DeviceConfig editwindow = new DeviceConfig(ItemClickedOn);
editwindow.ShowDialog();
if (!ItemClickedOn.Equals(oldND))
NB.DoActionChangeComponent(ItemClickedOn);
}
UpdateLinks();
myNetwork.TestForCompletion(true);