Browse Source

Improve title of DependencyEditorOwners

kobewi 3 years ago
parent
commit
847eee71df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/dependency_editor.cpp

+ 1 - 1
editor/dependency_editor.cpp

@@ -349,7 +349,7 @@ void DependencyEditorOwners::show(const String &p_path) {
 	_fill_owners(EditorFileSystem::get_singleton()->get_filesystem());
 	_fill_owners(EditorFileSystem::get_singleton()->get_filesystem());
 	popup_centered_ratio(0.3);
 	popup_centered_ratio(0.3);
 
 
-	set_title(TTR("Owners Of:") + " " + p_path.get_file());
+	set_title(vformat(TTR("Owners of: %s (Total: %d)"), p_path.get_file(), owners->get_item_count()));
 }
 }
 
 
 DependencyEditorOwners::DependencyEditorOwners() {
 DependencyEditorOwners::DependencyEditorOwners() {