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:
parent
c3332018fb
commit
97f8c9b97c
22 changed files with 67 additions and 67 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue