mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
[CA-121672] Fixed: The host's "edit placement policy" button does not work in a pool.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
4289972b1b
commit
b40714bf6c
@ -31,6 +31,7 @@
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using XenAdmin.Core;
|
||||
using XenAdmin.Dialogs;
|
||||
using XenAPI;
|
||||
|
||||
@ -143,7 +144,9 @@ namespace XenAdmin.Controls
|
||||
|
||||
private void editPlacementPolicyButton_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
using (PropertiesDialog propertiesDialog = new PropertiesDialog(xenObject))
|
||||
var pool = Helpers.GetPoolOfOne(xenObject.Connection);
|
||||
|
||||
using (PropertiesDialog propertiesDialog = new PropertiesDialog(pool))
|
||||
{
|
||||
propertiesDialog.SelectPage(propertiesDialog.PoolGpuEditPage);
|
||||
propertiesDialog.ShowDialog(this);
|
||||
|
Loading…
Reference in New Issue
Block a user