diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-09 18:46:43 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-09 18:46:43 +0300 |
commit | bb00cb91a13b2afefa650e5f3ae192e00ec5d719 (patch) | |
tree | 063aacc91a03fff6214e1375661362d1f36d10b8 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | bb1c8b0623fbcbf211db948261d58ca9e6712431 (diff) |
there's no need to make FilterWndProc a class member anymore
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 587c078d9a..476d42eb5f 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -923,8 +923,10 @@ void CMsgDialog::onClick_Filter(CCtrlButton *pButton) if (m_bFilterEnabled && !g_chatApi.bRightClickFilter)
ShowFilterMenu();
else {
- if (m_hwndFilter)
- SendMessage(m_hwndFilter, WM_CLOSE, 1, 1);
+ if (m_hwndFilter) {
+ SendMessage(m_hwndFilter, WM_CLOSE, 0, 0);
+ m_hwndFilter = nullptr;
+ }
RedrawLog();
UpdateTitle();
|