mirror of https://github.com/OpenVPN/openvpn-gui
Merge pull request #173 from ffes/focus-password
Set focus to password field when username is filledpull/174/head
commit
3b70b3182c
|
@ -289,7 +289,10 @@ UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
}
|
||||
if (RecallUsername(param->c->config_name, username))
|
||||
{
|
||||
SetDlgItemTextW(hwndDlg, ID_EDT_AUTH_USER, username);
|
||||
SetFocus(GetDlgItem(hwndDlg, ID_EDT_AUTH_PASS));
|
||||
}
|
||||
if (RecallAuthPass(param->c->config_name, password))
|
||||
{
|
||||
SetDlgItemTextW(hwndDlg, ID_EDT_AUTH_PASS, password);
|
||||
|
|
Loading…
Reference in New Issue