https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f49c164428938dac61146…
commit f49c164428938dac61146cfae15d583691650312
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Mar 20 13:18:47 2021 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Mar 20 13:18:47 2021 +0900
[BROWSEUI] Fix auto-completion on VK_DELETE (#3543)
Reduce failures against Delete key on auto-completion. CORE-9281
---
dll/win32/browseui/CAutoComplete.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dll/win32/browseui/CAutoComplete.cpp b/dll/win32/browseui/CAutoComplete.cpp
index b5dfa888abd..fa0c24adb6b 100644
--- a/dll/win32/browseui/CAutoComplete.cpp
+++ b/dll/win32/browseui/CAutoComplete.cpp
@@ -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: