Преглед изворни кода

Add tooltip for the dependencies buttons in the orphan explorer dialog

Michael Alexsander Silva Dias пре 6 година
родитељ
комит
fc23c8f941
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      editor/dependency_editor.cpp

+ 1 - 1
editor/dependency_editor.cpp

@@ -725,7 +725,7 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa
 				int ds = efsd->get_file_deps(i).size();
 				int ds = efsd->get_file_deps(i).size();
 				ti->set_text(1, itos(ds));
 				ti->set_text(1, itos(ds));
 				if (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);
 				ti->set_metadata(0, path);
 				has_children = true;
 				has_children = true;