summaryrefslogtreecommitdiff
path: root/scene/main/scene_tree.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-21 11:08:07 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-21 15:32:22 +0200
commit3d79ad6e50509870918b23199eae46fc65edc6ff (patch)
tree0c84d9376d3bc998e81b74ced0db8bac7cd857e6 /scene/main/scene_tree.cpp
parentdc07851a3ecb2ba8f44ae657278d98d317567157 (diff)
Fix main window title translation.
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r--scene/main/scene_tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index cafa4a43fd..0c92dcae11 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -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)));