diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-20 18:20:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-20 18:20:03 +0300 |
commit | 00f13b022dbf89fd630a8d43ffd602c84caff7e9 (patch) | |
tree | 188b6f7b2891b21a3942688da8c94cd6c60dccc3 /plugins/Scriver/src/msgdialog.cpp | |
parent | f12de5d0954a0e24852a1a309dffee37b5536970 (diff) |
fixes #3443 (Менять подсказку к фильтру событий при изменении иконки)
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 78ab1229ee..b5ab5506ea 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -502,7 +502,8 @@ void CMsgDialog::onClick_Filter(CCtrlButton *pButton) return;
m_bFilterEnabled = !m_bFilterEnabled;
- pButton->SendMsg(BM_SETIMAGE, IMAGE_ICON, (LPARAM)g_plugin.getIcon(m_bFilterEnabled ? IDI_FILTER2 : IDI_FILTER));
+ UpdateFilterButton();
+
if (m_bFilterEnabled && !g_chatApi.bRightClickFilter)
ShowFilterMenu();
else
|