Skip to content

Commit

Permalink
Remove RegisterHotKey (issue #164 pursue)
Browse files Browse the repository at this point in the history
  • Loading branch information
pozitronik committed Jan 15, 2018
1 parent e6f67fa commit c6de5af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions AskPassword.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class function TAskPasswordForm.AskPassword(ParentWindow: HWND; AccountName: Wid
AskPasswordForm.Caption := AccountName + ' password';
AskPasswordForm.UseTCPwdMngrCB.Enabled := not DisablePWDManagerCB;
AskPasswordForm.UseTCPwdMngrCB.Checked := UseTCPwdMngr;
RegisterHotKey(AskPasswordForm.Handle, 1, 0, VK_ESCAPE);
RegisterHotKey(AskPasswordForm.Handle, 2, 0, VK_RETURN);

result := AskPasswordForm.ShowModal;
if result = mrOk then
Expand Down

0 comments on commit c6de5af

Please sign in to comment.