Fix main window title translation.

This commit is contained in:
bruvzg 2022-01-21 11:08:07 +02:00
parent dc07851a3e
commit 3d79ad6e50
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
2 changed files with 32 additions and 3 deletions

View file

@ -1328,6 +1328,8 @@ SceneTree::SceneTree() {
root = memnew(Window);
root->set_process_mode(Node::PROCESS_MODE_PAUSABLE);
root->set_name("root");
root->set_title(ProjectSettings::get_singleton()->get("application/config/name"));
#ifndef _3D_DISABLED
if (!root->get_world_3d().is_valid()) {
root->set_world_3d(Ref<World3D>(memnew(World3D)));