summaryrefslogtreecommitdiff
path: root/modules/navigation
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-08-25 12:42:17 +0200
committerMicky <micheledevita2@gmail.com>2022-08-27 01:35:01 +0200
commitef5b9a06a929469690858fb35fa4e5ad272d42fa (patch)
treefd1ed5ff1fb7de81cccd5b9cea2d68ebb45ab080 /modules/navigation
parent4808d01b2bcda54db15e1e2649e0a38c37886ee1 (diff)
Rename `hint_tooltip` to `tooltip_text` & setget
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
Diffstat (limited to 'modules/navigation')
-rw-r--r--modules/navigation/editor/navigation_mesh_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/navigation/editor/navigation_mesh_editor_plugin.cpp b/modules/navigation/editor/navigation_mesh_editor_plugin.cpp
index c243e3e6e3..5cdff7b52a 100644
--- a/modules/navigation/editor/navigation_mesh_editor_plugin.cpp
+++ b/modules/navigation/editor/navigation_mesh_editor_plugin.cpp
@@ -110,7 +110,7 @@ NavigationMeshEditor::NavigationMeshEditor() {
button_reset->set_flat(true);
bake_hbox->add_child(button_reset);
// No button text, we only use a revert icon which is set when entering the tree.
- button_reset->set_tooltip(TTR("Clear the navigation mesh."));
+ button_reset->set_tooltip_text(TTR("Clear the navigation mesh."));
button_reset->connect("pressed", callable_mp(this, &NavigationMeshEditor::_clear_pressed));
bake_info = memnew(Label);