From aaab4607c1aabbfb3ae867264fe598672ec37c44 Mon Sep 17 00:00:00 2001 From: Udo Hoffmann Date: Sun, 14 Mar 2021 02:48:04 +0100 Subject: [PATCH] Fix Find button not enabled in Find in Files section regression Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8125#issuecomment-798801190 Close #9654 --- 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 73ea31eb5..b54df936f 100644 --- a/PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp @@ -3315,7 +3315,7 @@ void FindReplaceDlg::enableProjectCheckmarks() } } } - enableFindDlgItem (IDD_FINDINFILES_FIND_BUTTON, enable); + enableFindDlgItem (IDD_FINDINFILES_FIND_BUTTON, enable || (_currentStatus != FINDINPROJECTS_DLG)); enableFindDlgItem (IDD_FINDINFILES_REPLACEINPROJECTS, enable); } }