1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-25 15:37:42 +00:00

Fix #100727 by giving the project manager title to the node instead of DisplayServer

This commit is contained in:
Maxime Delorme
2024-12-22 18:34:00 +01:00
parent 0f95e9f8e6
commit e4e966b0f2
2 changed files with 10 additions and 7 deletions

View File

@@ -1139,7 +1139,7 @@ ProjectManager::ProjectManager() {
}
// TRANSLATORS: This refers to the application where users manage their Godot projects.
DisplayServer::get_singleton()->window_set_title(VERSION_NAME + String(" - ") + TTR("Project Manager", "Application"));
SceneTree::get_singleton()->get_root()->set_title(VERSION_NAME + String(" - ") + TTR("Project Manager", "Application"));
SceneTree::get_singleton()->get_root()->connect("files_dropped", callable_mp(this, &ProjectManager::_files_dropped));