From 5a758b5c1e26f7a12bde0149668adc4a8be05b59 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 4 Sep 2023 22:29:29 +0200 Subject: [PATCH] Fix the tooltip of the Debug Paths option. --- editor/editor_node.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 69d28743c..8ed77508a 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6541,7 +6541,8 @@ EditorNode::EditorNode() { TTR("When this option is enabled, avoidance debug information will be visible in the running project.")); p->add_check_shortcut(ED_SHORTCUT("editor/visible_paths", TTR("Visible Paths")), RUN_DEBUG_PATHS); - p->set_item_tooltip(-1, + p->set_item_tooltip( + p->get_item_count() - 1, TTR("When this option is enabled, curve resources used by path nodes will be visible in the running project.")); if (GLOBAL_GET("rendering/quality/driver/driver_name") == "GLES3") {