Browse Source

Improve title of DependencyEditorOwners

(cherry picked from commit 847eee71dfb9462df69195e8415a29258994584c)
kobewi 3 years ago
parent
commit
fe13b94a14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/dependency_editor.cpp

+ 1 - 1
editor/dependency_editor.cpp

@@ -331,7 +331,7 @@ void DependencyEditorOwners::show(const String &p_path) {
 	_fill_owners(EditorFileSystem::get_singleton()->get_filesystem());
 	popup_centered_ratio();
 
-	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(EditorNode *p_editor) {