diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-01 11:17:30 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-01 11:17:30 +0300 |
commit | ccd47813d774540317912de65e0ffb4300dbfbb9 (patch) | |
tree | e4d81c29a4a7bdce75c11e19864e5569cfc0990f /plugins/NewStory/src | |
parent | 5e00a83c7428607e73a852f95c55756ae9d51882 (diff) |
fixes #3760 (NewStory: перестали удаляться сообщения из журнала)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index d7102b980a..7b63110505 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -957,7 +957,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) + if (data->pMsgDlg && (HWND)wParam == data->pMsgDlg->GetInput()) data->ClearSelection(0, -1); return 0; |