From 5d29f72464207a9a10666ae12c330228d6f27558 Mon Sep 17 00:00:00 2001 From: Coises Date: Sun, 3 Nov 2024 08:25:35 -0700 Subject: [PATCH] Fix replace field focus losing when Notepad++ is switched back Fix #6021, close #15756 --- PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp index ba5f87630..cbbc6cfe2 100644 --- a/PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp @@ -1708,7 +1708,7 @@ intptr_t CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA enableFindDlgItem(IDREDOTMATCHNL, false); } enableProjectCheckmarks(); - return TRUE; + return 0; } case NPPM_MODELESSDIALOG :