You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
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`
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user