summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-01-09 13:02:41 +0100
committerGitHub <noreply@github.com>2019-01-09 13:02:41 +0100
commit26606dd0fa5ae30fb8b053ef1c761ad3e6725201 (patch)
tree47651fa8035ddbe2b31cc2497f0d3192a82e93e9
parentbdfbe58ea655e3a4165bc4c0aba9bbe97aa4f6a3 (diff)
parentb50fa06c6d18e24290aee23a74ee2eb3bdeb09ec (diff)
Merge pull request #24857 from x2f/patch-1
Fix "Whole Words" and "Match Cases" checkbox behavior in "Find in Files"
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
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());