summaryrefslogtreecommitdiffstats
path: root/editor/editor_plugin_settings.cpp
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-08-29 15:55:49 +0200
committerMicky <micheledevita2@gmail.com>2022-08-30 11:16:23 +0200
commit97f8c9b97cf68705c5fe215314df7f9c0290b14b (patch)
treec88711da6821853fc18591ecfcd6be3d1165a5b3 /editor/editor_plugin_settings.cpp
parentc3332018fb3625d40046d23099cf7e562ddcf65b (diff)
downloadredot-engine-97f8c9b97cf68705c5fe215314df7f9c0290b14b.tar.gz
Rename TreeItem's `set_tooltip` to `set_tooltip_text`
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
Diffstat (limited to 'editor/editor_plugin_settings.cpp')
-rw-r--r--editor/editor_plugin_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_plugin_settings.cpp b/editor/editor_plugin_settings.cpp
index 5a010a66c1..a4939f05db 100644
--- a/editor/editor_plugin_settings.cpp
+++ b/editor/editor_plugin_settings.cpp
@@ -102,7 +102,7 @@ void EditorPluginSettings::update_plugins() {
TreeItem *item = plugin_list->create_item(root);
item->set_text(0, name);
- item->set_tooltip(0, TTR("Name:") + " " + name + "\n" + TTR("Path:") + " " + path + "\n" + TTR("Main Script:") + " " + script + "\n" + TTR("Description:") + " " + description);
+ item->set_tooltip_text(0, TTR("Name:") + " " + name + "\n" + TTR("Path:") + " " + path + "\n" + TTR("Main Script:") + " " + script + "\n" + TTR("Description:") + " " + description);
item->set_metadata(0, path);
item->set_text(1, version);
item->set_metadata(1, script);