mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +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:
parent
c3332018fb
commit
97f8c9b97c
22 changed files with 67 additions and 67 deletions
|
|
@ -196,7 +196,7 @@ void ResourcePreloaderEditor::_update_library() {
|
|||
|
||||
String type = r->get_class();
|
||||
ti->set_icon(0, EditorNode::get_singleton()->get_class_icon(type, "Object"));
|
||||
ti->set_tooltip(0, TTR("Instance:") + " " + r->get_path() + "\n" + TTR("Type:") + " " + type);
|
||||
ti->set_tooltip_text(0, TTR("Instance:") + " " + r->get_path() + "\n" + TTR("Type:") + " " + type);
|
||||
|
||||
ti->set_text(1, r->get_path());
|
||||
ti->set_editable(1, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue