diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp index 9f0f2c748..331822f5a 100644 --- a/editor/find_in_files.cpp +++ b/editor/find_in_files.cpp @@ -364,6 +364,7 @@ FindInFilesDialog::FindInFilesDialog() { _match_case_checkbox = memnew(CheckBox); _match_case_checkbox->set_text(TTR("Match Case")); + _match_case_checkbox->set_pressed(true); hbc->add_child(_match_case_checkbox); gc->add_child(hbc); diff --git a/editor_modules/editor_code_editor/editor_find_replace_bar.cpp b/editor_modules/editor_code_editor/editor_find_replace_bar.cpp index d0d671728..4caba30e2 100644 --- a/editor_modules/editor_code_editor/editor_find_replace_bar.cpp +++ b/editor_modules/editor_code_editor/editor_find_replace_bar.cpp @@ -615,6 +615,7 @@ EditorFindReplaceBar::EditorFindReplaceBar() { hbc_option_search->add_child(case_sensitive); case_sensitive->set_text(TTR("Match Case")); case_sensitive->set_focus_mode(FOCUS_NONE); + case_sensitive->set_pressed(true); case_sensitive->connect("toggled", this, "_search_options_changed"); whole_words = memnew(CheckBox);