diff --git a/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp b/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp index c4bc568a9..1899963b7 100644 --- a/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp +++ b/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp @@ -685,12 +685,12 @@ static LRESULT CALLBACK funclstSearchEditProc(HWND hwnd, UINT message, WPARAM wP { switch (message) { - case WM_KEYDOWN: + case WM_CHAR: { if (wParam == VK_ESCAPE) { ::SendMessage(hwnd, WM_SETTEXT, 0, reinterpret_cast(TEXT(""))); - return TRUE; + return FALSE; } } }