From 72da1667e040e8c58a0e5cf1983cd94d56ac4e7d Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 25 Apr 2020 21:59:22 +0200 Subject: [PATCH] Improve path search behavior discoverability in the project manager This closes #38185. --- editor/project_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 0ca540a33f9..c918a799e1d 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);