change device ( action) when edited.
This commit is contained in:
parent
13557c743f
commit
074d6c22c5
@ -1353,8 +1353,11 @@ namespace EduNetworkBuilder
|
|||||||
return;
|
return;
|
||||||
if (ItemClickedOn != null)
|
if (ItemClickedOn != null)
|
||||||
{
|
{
|
||||||
|
NetworkDevice oldND = NetworkDevice.Clone(ItemClickedOn);
|
||||||
DeviceConfig editwindow = new DeviceConfig(ItemClickedOn);
|
DeviceConfig editwindow = new DeviceConfig(ItemClickedOn);
|
||||||
editwindow.ShowDialog();
|
editwindow.ShowDialog();
|
||||||
|
if (!ItemClickedOn.Equals(oldND))
|
||||||
|
NB.DoActionChangeComponent(ItemClickedOn);
|
||||||
}
|
}
|
||||||
UpdateLinks();
|
UpdateLinks();
|
||||||
myNetwork.TestForCompletion(true);
|
myNetwork.TestForCompletion(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user