Skip to content

Commit

Permalink
Handle F5 to refresh confirmations window
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessecar96 committed Dec 10, 2015
1 parent 2dc1cb3 commit b098763
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Steam Desktop Authenticator/ConfirmationFormWeb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,19 @@ private void btnRefresh_Click(object sender, EventArgs e)
{
browser.Load(steamAccount.GenerateConfirmationURL());
}

protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
bool bHandled = false;
switch (keyData)
{
case Keys.F5:
browser.Load(steamAccount.GenerateConfirmationURL());
bHandled = true;
break;
}
return bHandled;
}
}

}

0 comments on commit b098763

Please sign in to comment.