mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CP-13036: Add button to restore dismissed updates in the Updates Wizard.
This commit is contained in:
parent
84ed24cd0c
commit
7e3be8f707
@ -73,6 +73,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
||||
resources.ApplyResources(this.RestoreDismUpdatesButton, "RestoreDismUpdatesButton");
|
||||
this.RestoreDismUpdatesButton.Name = "RestoreDismUpdatesButton";
|
||||
this.RestoreDismUpdatesButton.UseVisualStyleBackColor = true;
|
||||
this.RestoreDismUpdatesButton.Click += new System.EventHandler(this.RestoreDismUpdatesButton_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
|
@ -541,6 +541,11 @@ namespace XenAdmin.Wizards.PatchingWizard
|
||||
return this.Equals((PatchGridViewRow)obj);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private void RestoreDismUpdatesButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Updates.RestoreDismissedUpdates();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user