The match case option is on by default now when searching in the current file and in files in the editor.

This commit is contained in:
Relintai 2023-09-09 02:26:36 +02:00
parent a7cf92860a
commit edec78785d
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);