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
This commit is contained in:
Udo Hoffmann 2021-03-14 02:48:04 +01:00 committed by Don HO
parent 8c6dc79df3
commit aaab4607c1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}