summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-11-09 18:48:38 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-11-09 18:48:38 +0300
commit9a4428ce1a6e76ed25e3e30d85cf119e7b437891 (patch)
tree35cbba641566122067fcffa8d6d26db1806f9013 /plugins/TabSRMM/src/msgdialog.cpp
parentbb00cb91a13b2afefa650e5f3ae192e00ec5d719 (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 476d42eb5f..3d93d6d4a5 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -923,10 +923,8 @@ void CMsgDialog::onClick_Filter(CCtrlButton *pButton)
if (m_bFilterEnabled && !g_chatApi.bRightClickFilter)
ShowFilterMenu();
else {
- if (m_hwndFilter) {
+ if (m_hwndFilter)
SendMessage(m_hwndFilter, WM_CLOSE, 0, 0);
- m_hwndFilter = nullptr;
- }
RedrawLog();
UpdateTitle();