summaryrefslogtreecommitdiffstats
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorQuirkyLemon <quirkylemon103@gmail.com>2023-11-08 08:22:55 -0600
committerQuirkyLemon <quirkylemon103@gmail.com>2024-01-12 15:26:13 -0600
commit14b2533ef6f6cc5ca21b9e58b9f6f36767103b3b (patch)
tree0e804c0d4da8e7fe1b03c950db79aa91f10ffd18 /editor/scene_tree_dock.cpp
parent26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff)
downloadredot-engine-14b2533ef6f6cc5ca21b9e58b9f6f36767103b3b.tar.gz
add tooltip for toggling favorite nodes
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 c2d0785925..6bad5d1c2e 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -1392,7 +1392,7 @@ void SceneTreeDock::_notification(int p_what) {
node_shortcuts_toggle->set_flat(true);
node_shortcuts_toggle->set_icon(get_editor_theme_icon(SNAME("Favorites")));
node_shortcuts_toggle->set_toggle_mode(true);
- node_shortcuts_toggle->set_tooltip_text(TTR("Switch to Favorite Nodes"));
+ node_shortcuts_toggle->set_tooltip_text(TTR("Toggle the display of favorite nodes."));
node_shortcuts_toggle->set_pressed(EDITOR_GET("_use_favorites_root_selection"));
node_shortcuts_toggle->set_anchors_and_offsets_preset(Control::PRESET_CENTER_RIGHT);
node_shortcuts_toggle->connect("pressed", callable_mp(this, &SceneTreeDock::_update_create_root_dialog));