Confirm prompt for Remove All Test Merges button

This commit is contained in:
Jordan Brown
2018-07-14 10:58:39 -04:00
parent 0ef5888437
commit 64ef5c9ce7
@@ -404,6 +404,8 @@ namespace TGS.ControlPanel
/// <param name="e">The <see cref="EventArgs"/></param>
async void RemoveAllTestMergesButton_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Are you sure you want to remove all test merges?", "Confirm", MessageBoxButtons.YesNo) != DialogResult.Yes)
return;
try
{
UseWaitCursor = true;