From fc23c8f9412525cc50086cf10bc19fee2239710a Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Thu, 6 Jun 2019 02:47:56 -0300 Subject: [PATCH] Add tooltip for the dependencies buttons in the orphan explorer dialog --- editor/dependency_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index bde73e9268b..cc9e2c12e8c 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -725,7 +725,7 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa int ds = efsd->get_file_deps(i).size(); ti->set_text(1, itos(ds)); if (ds) { - ti->add_button(1, get_icon("GuiVisibilityVisible", "EditorIcons")); + ti->add_button(1, get_icon("GuiVisibilityVisible", "EditorIcons"), -1, false, TTR("Show Dependencies")); } ti->set_metadata(0, path); has_children = true;