Fix Ctrl-C not doing copy from Search result issue (part 2)

Fix using F7 to switch in Search results not working with Ctrl-C issue.

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15739#issuecomment-2481400295
pull/15823/head
Don Ho 6 days ago
parent af2b90f0a5
commit 8f0484caf3

@ -5633,6 +5633,12 @@ intptr_t CALLBACK Finder::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam
{ {
case WM_COMMAND : case WM_COMMAND :
{ {
if (HIWORD(wParam) == SCEN_SETFOCUS)
{
::SendMessage(_hParent, NPPM_INTERNAL_CHECKUNDOREDOSTATE, 0, 0);
return TRUE;
}
switch (wParam) switch (wParam)
{ {
case NPPM_INTERNAL_FINDINFINDERDLG: case NPPM_INTERNAL_FINDINFINDERDLG:

Loading…
Cancel
Save