diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-30 14:05:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 14:05:08 +0200 |
commit | ebe4f8d3a4a706c5eb1b7a8283883c63c131cad7 (patch) | |
tree | a1207e5bae1f22f2acea5ba634bfd32143d3c916 /editor/plugins/resource_preloader_editor_plugin.cpp | |
parent | 5e772885025225653b2a5766ec41fa344c2ebe3e (diff) | |
parent | 97f8c9b97cf68705c5fe215314df7f9c0290b14b (diff) |
Merge pull request #65039 from Mickeon/rename-treeitem-tooltip
Diffstat (limited to 'editor/plugins/resource_preloader_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/resource_preloader_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/resource_preloader_editor_plugin.cpp b/editor/plugins/resource_preloader_editor_plugin.cpp index 80566419b1..21647d1b69 100644 --- a/editor/plugins/resource_preloader_editor_plugin.cpp +++ b/editor/plugins/resource_preloader_editor_plugin.cpp @@ -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); |