summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-01 11:17:30 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-01 11:17:30 +0300
commitccd47813d774540317912de65e0ffb4300dbfbb9 (patch)
treee4d81c29a4a7bdce75c11e19864e5569cfc0990f /plugins/NewStory/src
parent5e00a83c7428607e73a852f95c55756ae9d51882 (diff)
fixes #3760 (NewStory: перестали удаляться сообщения из журнала)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_control.cpp2
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;