1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #82283 from YeldhamDev/focus_that_search_bar!

Make the search bars in the "Project Settings" dialog grab focus when they appear
This commit is contained in:
Rémi Verschelde
2024-01-04 16:38:52 +01:00
6 changed files with 32 additions and 11 deletions

View File

@@ -532,7 +532,7 @@ ActionMapEditor::ActionMapEditor() {
action_list_search = memnew(LineEdit);
action_list_search->set_h_size_flags(Control::SIZE_EXPAND_FILL);
action_list_search->set_placeholder(TTR("Filter by name..."));
action_list_search->set_placeholder(TTR("Filter by Name"));
action_list_search->set_clear_button_enabled(true);
action_list_search->connect("text_changed", callable_mp(this, &ActionMapEditor::_search_term_updated));
top_hbox->add_child(action_list_search);