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/animation_library_editor.cpp | |
parent | 5e772885025225653b2a5766ec41fa344c2ebe3e (diff) | |
parent | 97f8c9b97cf68705c5fe215314df7f9c0290b14b (diff) |
Merge pull request #65039 from Mickeon/rename-treeitem-tooltip
Diffstat (limited to 'editor/plugins/animation_library_editor.cpp')
-rw-r--r-- | editor/plugins/animation_library_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_library_editor.cpp b/editor/plugins/animation_library_editor.cpp index f9e5aa799a..50ba1a71c0 100644 --- a/editor/plugins/animation_library_editor.cpp +++ b/editor/plugins/animation_library_editor.cpp @@ -635,7 +635,7 @@ void AnimationLibraryEditor::update_tree() { String al_path = al->get_path(); if (!al_path.is_resource_file()) { libitem->set_text(1, TTR("[built-in]")); - libitem->set_tooltip(1, al_path); + libitem->set_tooltip_text(1, al_path); int srpos = al_path.find("::"); if (srpos != -1) { String base = al_path.substr(0, srpos); @@ -687,7 +687,7 @@ void AnimationLibraryEditor::update_tree() { String anim_path = anim->get_path(); if (!anim_path.is_resource_file()) { anitem->set_text(1, TTR("[built-in]")); - anitem->set_tooltip(1, anim_path); + anitem->set_tooltip_text(1, anim_path); int srpos = anim_path.find("::"); if (srpos != -1) { String base = anim_path.substr(0, srpos); |