From 589b7b0ed1fd043df4ac574c991b22486c1c5751 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Sun, 17 Dec 2023 20:07:46 -0300 Subject: [PATCH] Fix scene dock search losing its default tooltip after typing an invalid filter --- editor/scene_tree_dock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index c12e53fc88b0..6553a592d028 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -3330,7 +3330,7 @@ void SceneTreeDock::_filter_changed(const String &p_filter) { filter->set_tooltip_text(warning); } else { filter->remove_theme_icon_override(SNAME("clear")); - filter->set_tooltip_text(""); + filter->set_tooltip_text(TTR("Filter nodes by entering a part of their name, type (if prefixed with \"type:\" or \"t:\")\nor group (if prefixed with \"group:\" or \"g:\"). Filtering is case-insensitive.")); } }