Merge pull request #24857 from x2f/patch-1

Fix "Whole Words" and "Match Cases" checkbox behavior in "Find in Files"
This commit is contained in:
Rémi Verschelde 2019-01-09 13:02:41 +01:00 committed by GitHub
commit 26606dd0fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2800,7 +2800,7 @@ void ScriptEditor::_start_find_in_files(bool with_replace) {
f->set_search_text(find_in_files_dialog->get_search_text());
f->set_match_case(find_in_files_dialog->is_match_case());
f->set_whole_words(find_in_files_dialog->is_match_case());
f->set_whole_words(find_in_files_dialog->is_whole_words());
f->set_folder(find_in_files_dialog->get_folder());
f->set_filter(find_in_files_dialog->get_filter());