From b50fa06c6d18e24290aee23a74ee2eb3bdeb09ec Mon Sep 17 00:00:00 2001 From: x2f <10355421+x2f@users.noreply.github.com> Date: Wed, 9 Jan 2019 00:23:46 -0500 Subject: Fix for issue #24810 (find in files logic) Match case check box was used for whole words as well as match case. --- editor/plugins/script_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 9e3a512724..182738cf14 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -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()); -- cgit v1.2.3