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:
commit
ad3e5a949e
6 changed files with 32 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue