diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-25 21:59:22 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-25 21:59:38 +0200 |
commit | 72da1667e040e8c58a0e5cf1983cd94d56ac4e7d (patch) | |
tree | 3a57bbc0f98dfc402c72882e7a205c5274778f1a /editor/project_manager.cpp | |
parent | 7899b3e734e5c64304e8ffb56293fb4b1912b547 (diff) |
Improve path search behavior discoverability in the project manager
This closes #38185.
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 0ca540a33f..c918a799e1 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -2779,6 +2779,8 @@ void ProjectListFilter::add_filter_option() { void ProjectListFilter::add_search_box() { search_box = memnew(LineEdit); search_box->set_placeholder(TTR("Search")); + search_box->set_tooltip( + TTR("The search box filters projects by name and last path component.\nTo filter projects by name and full path, the query must contain at least one `/` character.")); search_box->connect("text_changed", callable_mp(this, &ProjectListFilter::_search_text_changed)); search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL); add_child(search_box); |