This commit is contained in:
ScoochAside 2025-02-11 16:45:44 -05:00 committed by GitHub
parent c62de90430
commit 9f5bc9c318
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,8 @@ static INT_PTR_COMPAT CALLBACK pick_core_proc(
SendMessage(hwndList, LB_ADDSTRING, 0,
(LPARAM)info->display_name);
}
/* Select the first item in the list */
SendMessage(hwndList, LB_SETCURSEL, 0, 0);
SetFocus(hwndList);
return TRUE;
}