diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-13 20:36:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-13 20:36:49 +0300 |
commit | a2cedee6d5e03c56e8234ba1150727ce3857e638 (patch) | |
tree | fafe2a6b39a49c56b4f361cedd81ecb6388675d0 /plugins/TabSRMM/src/msgoptions.cpp | |
parent | 0726ffe2cca22eef7d8cd578df7ea8a56b130766 (diff) |
fix for built-in clist_modern in the typing notification options dialog
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index dcfefec095..0227613009 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -895,7 +895,6 @@ static INT_PTR CALLBACK DlgProcTypeOptions(HWND hwndDlg, UINT msg, WPARAM wParam }
SetWindowLongPtr(GetDlgItem(hwndDlg, IDC_CLIST), GWL_STYLE, GetWindowLongPtr(GetDlgItem(hwndDlg, IDC_CLIST), GWL_STYLE) | (CLS_SHOWHIDDEN));
ResetCList(hwndDlg);
- RebuildList(hwndDlg, hItemNew, hItemUnknown);
CheckDlgButton(hwndDlg, IDC_SHOWNOTIFY, M.GetByte(SRMSGMOD, SRMSGSET_SHOWTYPING, SRMSGDEFSET_SHOWTYPING) ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(hwndDlg, IDC_TYPEFLASHWIN, M.GetByte(SRMSGMOD, SRMSGSET_SHOWTYPINGWINFLASH, SRMSGDEFSET_SHOWTYPINGWINFLASH) ? BST_CHECKED : BST_UNCHECKED);
@@ -963,6 +962,9 @@ static INT_PTR CALLBACK DlgProcTypeOptions(HWND hwndDlg, UINT msg, WPARAM wParam case CLN_CHECKCHANGED:
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
+ case CLN_LISTREBUILT:
+ RebuildList(hwndDlg, hItemNew, hItemUnknown);
+ break;
}
break;
case 0:
|