diff --git a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs index 900e365ff..14912d459 100644 --- a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs +++ b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs @@ -40,11 +40,14 @@ using XenAdmin.Controls; using XenAdmin.Core; using XenAdmin.Dialogs; using XenAPI; +using XenAdmin.Alerts; namespace XenAdmin.Wizards.PatchingWizard { public partial class PatchingWizard_ModePage : XenTabPage { + public XenServerPatchAlert SelectedUpdateAlert { private get; set; } + public PatchingWizard_ModePage() { InitializeComponent(); @@ -108,6 +111,12 @@ namespace XenAdmin.Wizards.PatchingWizard textBoxLog.Text = PatchingWizardModeGuidanceBuilder.ModeSuppPack(SelectedServers); break; } + + if (SelectedUpdateAlert == null) + { + removeUpdateFileCheckBox.Checked = false; + removeUpdateFileCheckBox.Enabled = false; + } } public override bool EnableNext()