summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-11-09 17:19:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-11-09 17:19:13 +0300
commitbb1c8b0623fbcbf211db948261d58ca9e6712431 (patch)
treef4368d548155a66aa57eb9e90e82a5f31c738650
parent8f00b03d2fb4bd673c34747674ddebefa6cd0eaf (diff)
fixes #4779 (Окно фильтра событий не закрывается автоматически при отключении фильтра горячей клавишей)
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 6502f247dd..587c078d9a 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -923,6 +923,9 @@ void CMsgDialog::onClick_Filter(CCtrlButton *pButton)
if (m_bFilterEnabled && !g_chatApi.bRightClickFilter)
ShowFilterMenu();
else {
+ if (m_hwndFilter)
+ SendMessage(m_hwndFilter, WM_CLOSE, 1, 1);
+
RedrawLog();
UpdateTitle();
}