From a32ddff6fd36f95eeee290b7afd0113fc4882748 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Nov 2023 19:06:32 +0300 Subject: =?UTF-8?q?fixes=20#3657=20(NewStory:=20=D1=81=D0=BD=D1=8F=D1=82?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 89003680bb..0909b186cc 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -1013,7 +1013,7 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM case WM_KILLFOCUS: if (wParam && (HWND)wParam != data->hwndEditBox) data->EndEditItem(false); - if (data->pMsgDlg && (HWND)wParam == data->pMsgDlg->GetInput()) + if (data->pMsgDlg && ((HWND)wParam == data->pMsgDlg->GetInput() || (HWND)wParam == data->pMsgDlg->GetHwnd())) data->ClearSelection(0, -1); return 0; -- cgit v1.2.3