mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Make the search bars in the "Project Settings" dialog grab focus when they appear
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user