Merge pull request #29527 from YeldhamDev/orphan_dialog_dependencies_tooltip

Add tooltip for the dependencies buttons in the orphan explorer dialog
This commit is contained in:
Michael Alexsander Silva Dias 2019-06-09 18:37:48 -03:00 committed by GitHub
commit 138a8f1a99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;