Merge pull request #812 from GaborApatiNagy/master_CA-153143

CA-153143: [SCTX-1925] Workflow bug in adding a VIF
This commit is contained in:
Mihaela Stoica 2016-02-05 11:57:48 +00:00
commit 265f52d823

View File

@ -146,6 +146,11 @@ namespace XenAdmin.Dialogs
}
void promptTextBoxMac_TextChanged(object sender, EventArgs e)
{
ValidateMACAddress();
}
private void ValidateMACAddress()
{
if (MACAddressHasChanged() && !MACAddressIsAcceptable())
{
@ -215,6 +220,7 @@ namespace XenAdmin.Dialogs
private void NetworkComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
ValidateMACAddress();
updateEnablement();
}