summaryrefslogtreecommitdiffstats
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2023-12-17 20:07:46 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2023-12-17 20:07:46 -0300
commit589b7b0ed1fd043df4ac574c991b22486c1c5751 (patch)
tree6b4c0cc8326aaeb9607510f44f930ffdf6b8d67f /editor/scene_tree_dock.cpp
parent2d0ee20ff30461b6b10f6fdfba87511a0ebc6642 (diff)
downloadredot-engine-589b7b0ed1fd043df4ac574c991b22486c1c5751.tar.gz
Fix scene dock search losing its default tooltip after typing an invalid filter
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index c12e53fc88..6553a592d0 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."));
}
}