Fix "preventing Find All Curr Doc working in macro" issue

Fix #5973, close #6006
This commit is contained in:
Scott Sumner 2019-08-05 13:28:09 -04:00 committed by Don HO
parent cd9f761293
commit 9d79d6c017
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -2679,7 +2679,7 @@ void FindReplaceDlg::execSavedCommand(int cmd, uptr_t intValue, const generic_st
break;
case IDC_FINDALL_CURRENTFILE:
nppParamInst->_isFindReplacing = true;
findAllIn(FILES_IN_DIR);
findAllIn(CURRENT_DOC);
nppParamInst->_isFindReplacing = false;
break;
case IDC_REPLACE_OPENEDFILES: