summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_window.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-11 21:17:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-11 21:17:30 +0300
commit4e925b0dd277356ac445bd8ca1bce51b65bbc77e (patch)
tree7d3b89b70ccc85e87ee2afa97e545e74a8704510 /plugins/TabSRMM/src/chat_window.cpp
parentf62485722ecc3f16fafb79e04fa908d8cd818193 (diff)
tabSRMM: fix for setting filter results
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp
index f0bbd0020d..9eade66075 100644
--- a/plugins/TabSRMM/src/chat_window.cpp
+++ b/plugins/TabSRMM/src/chat_window.cpp
@@ -1064,7 +1064,8 @@ INT_PTR CALLBACK CChatRoomDlg::FilterWndProc(HWND hwndDlg, UINT uMsg, WPARAM wPa
db_set_dw(pDlg->m_hContact, CHAT_MODULE, "TrayIconMask", dwMask);
}
Chat_SetFilters(pDlg->m_si);
- pDlg->m_iLogFilterFlags = iFlags;
+ if (pDlg->m_iLogFilterFlags == 0 && pDlg->m_bFilterEnabled)
+ pDlg->onClick_Filter(&pDlg->m_btnFilter);
if (pDlg->m_bFilterEnabled)
pDlg->RedrawLog();
}