diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-26 12:20:03 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-26 12:20:03 +0300 |
commit | b6669f0ee3361891e9807e5c734bf9121e9cfb06 (patch) | |
tree | 89f4662ee0f9b743126b213354820fd1671a5657 /plugins/SmileyAdd/src/dlgboxsubclass.cpp | |
parent | 82228dfaa3f7c387ff1f42e1698c4d68fe8e1335 (diff) |
SRMM options update unification
Diffstat (limited to 'plugins/SmileyAdd/src/dlgboxsubclass.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/dlgboxsubclass.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 9a5792651d..0dd3cafd0d 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -56,15 +56,7 @@ static OBJLIST<MsgWndData> g_MsgWndList(10, HandleKeySortT); int UpdateSrmmDlg(WPARAM wParam, LPARAM)
{
- mir_cslock lck(csWndList);
-
- for (auto &it : g_MsgWndList) {
- if (wParam == 0 || it->pDlg->m_hContact == wParam) {
- SendMessage(it->pDlg->GetHwnd(), WM_SETREDRAW, FALSE, 0);
- it->pDlg->UpdateOptions();
- SendMessage(it->pDlg->GetHwnd(), WM_SETREDRAW, TRUE, 0);
- }
- }
+ Srmm_ApplyOptions();
return 0;
}
|