Added missing invoke

This commit is contained in:
MaxXor 2014-07-17 23:47:15 +02:00
parent ce3b8a9989
commit dd8c80377c
1 changed files with 6 additions and 2 deletions

View File

@ -44,8 +44,12 @@ namespace xRAT_2.Forms
catch
{ }
}
btnAccept.Text = "Accept";
btnAccept.Enabled = true;
this.Invoke((MethodInvoker)delegate
{
btnAccept.Text = "Accept";
btnAccept.Enabled = true;
});
}
private void btnDecline_Click(object sender, EventArgs e)