mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[BROWSEUI] Fix auto-completion on VK_DELETE (#3543)
Reduce failures against Delete key on auto-completion. CORE-9281
This commit is contained in:
parent
4885c34fa8
commit
f49c164428
1 changed files with 1 additions and 2 deletions
|
@ -961,8 +961,7 @@ BOOL CAutoComplete::OnEditKeyDown(WPARAM wParam, LPARAM lParam)
|
|||
if (!CanAutoSuggest())
|
||||
return FALSE; // do default
|
||||
m_hwndEdit.DefWindowProcW(WM_KEYDOWN, VK_DELETE, 0); // do default
|
||||
if (IsWindowVisible())
|
||||
OnEditUpdate(FALSE);
|
||||
OnEditUpdate(FALSE);
|
||||
return TRUE; // eat
|
||||
}
|
||||
case VK_BACK:
|
||||
|
|
Loading…
Reference in a new issue