diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 75b16cc..f79084b 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -948,10 +948,12 @@ namespace EduNetworkBuilder pbNetworkView.ContextMenuStrip.Items[index].Tag = LinkReleasedOn; pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_RemoveNetLink_Click; - pbNetworkView.ContextMenuStrip.Items.Add(NB.Translate("_Edit")); - pbNetworkView.ContextMenuStrip.Items[index].Tag = LinkReleasedOn; - pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_EditNetLink_Click; - + if (LinkReleasedOn.theLinkType != LinkType.wireless) + { + pbNetworkView.ContextMenuStrip.Items.Add(NB.Translate("_Edit")); + pbNetworkView.ContextMenuStrip.Items[index].Tag = LinkReleasedOn; + pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_EditNetLink_Click; + } pbNetworkView.ContextMenuStrip.Visible = true; pbNetworkView.ContextMenuStrip.Show(Cursor.Position);