Merge pull request #52 from MihaelaStoica/CA-126455

CA-126455: VM Properties dialog: Fixed the bug where the home server val...
This commit is contained in:
Gabor Apati-Nagy 2014-04-29 11:04:25 +01:00
commit 5d36772c81
2 changed files with 0 additions and 13 deletions

View File

@ -36,7 +36,6 @@ namespace XenAdmin.SettingsPanels
//
resources.ApplyResources(this.picker, "picker");
this.picker.Name = "picker";
this.picker.VisibleChanged += new System.EventHandler(this.picker_VisibleChanged);
//
// HomeServerEditPage
//

View File

@ -135,17 +135,5 @@ namespace XenAdmin.SettingsPanels
}
#endregion
private void picker_VisibleChanged(object sender, EventArgs e)
{
if (vm != null)
{
Host currentAffinity = vm.Connection.Resolve(vm.affinity);
picker.SetAffinity(vm.Connection, currentAffinity,
vm.HasNoDisksAndNoLocalCD
? null
: vm.GetStorageHost(false));
}
}
}
}