You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -89,7 +89,7 @@ void GroupDialog::_load_nodes(Node *p_current) {
|
||||
if (keep) {
|
||||
node->set_text(0, item_name);
|
||||
node->set_metadata(0, path);
|
||||
node->set_tooltip(0, path);
|
||||
node->set_tooltip_text(0, path);
|
||||
|
||||
Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(p_current, "Node");
|
||||
node->set_icon(0, icon);
|
||||
|
||||
Reference in New Issue
Block a user