mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-216697: MTU message present on the Network Settings page when creating an internal network
In the New Network wizard, when the "Single-Server Private Network" type is selected, the Network settings page should not display the MTU hint message, because it is not relevant to any controls on the page Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
35f8c3ec2f
commit
2e62dc8476
@ -136,7 +136,7 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
|||||||
comboBoxNICList.Visible = external;
|
comboBoxNICList.Visible = external;
|
||||||
labelVLAN.Visible = external;
|
labelVLAN.Visible = external;
|
||||||
numericUpDownVLAN.Visible = external;
|
numericUpDownVLAN.Visible = external;
|
||||||
numericUpDownMTU.Visible = labelMTU.Visible = external;
|
numericUpDownMTU.Visible = labelMTU.Visible = infoMtuPanel.Visible = external;
|
||||||
labelNIC.Visible = external;
|
labelNIC.Visible = external;
|
||||||
if (comboBoxNICList.Items.Count > 0)
|
if (comboBoxNICList.Items.Count > 0)
|
||||||
comboBoxNICList.SelectedIndex = external ? comboBoxNICList.Items.Count - 1 : -1;
|
comboBoxNICList.SelectedIndex = external ? comboBoxNICList.Items.Count - 1 : -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user