diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 394c854..d41083e 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -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);