From 4e925b0dd277356ac445bd8ca1bce51b65bbc77e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 11 Mar 2017 21:17:30 +0300 Subject: tabSRMM: fix for setting filter results --- plugins/TabSRMM/src/chat_window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') 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(); } -- cgit v1.2.3