Fix menu check marks not being removed after closing the panels
For both "Clipboard History" and "Character Panel" panels. Fix #9216
This commit is contained in:
parent
c9c2d1e376
commit
59a0c7c3d8
@ -68,6 +68,13 @@ INT_PTR CALLBACK AnsiCharPanel::run_dlgProc(UINT message, WPARAM wParam, LPARAM
|
||||
{
|
||||
switch (((LPNMHDR)lParam)->code)
|
||||
{
|
||||
case DMN_CLOSE:
|
||||
{
|
||||
::SendMessage(_hParent, WM_COMMAND, IDM_EDIT_CHAR_PANEL, 0);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
case NM_DBLCLK:
|
||||
{
|
||||
LPNMITEMACTIVATE lpnmitem = (LPNMITEMACTIVATE) lParam;
|
||||
|
@ -273,6 +273,13 @@ INT_PTR CALLBACK ClipboardHistoryPanel::run_dlgProc(UINT message, WPARAM wParam,
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_NOTIFY:
|
||||
{
|
||||
if (((LPNMHDR)lParam)->code == DMN_CLOSE)
|
||||
::SendMessage(_hParent, WM_COMMAND, IDM_EDIT_CLIPBOARDHISTORY_PANEL, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_SIZE:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user