浏览代码

Merge pull request #108396 from timothyqiu/editor-title

Fix main editor title after changing language
Thaddeus Crews 2 月之前
父节点
当前提交
31d253d827
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -769,6 +769,7 @@ bool EditorNode::_is_project_data_missing() {
 void EditorNode::_notification(int p_what) {
 void EditorNode::_notification(int p_what) {
 	switch (p_what) {
 	switch (p_what) {
 		case NOTIFICATION_TRANSLATION_CHANGED: {
 		case NOTIFICATION_TRANSLATION_CHANGED: {
+			_update_title();
 			callable_mp(this, &EditorNode::_titlebar_resized).call_deferred();
 			callable_mp(this, &EditorNode::_titlebar_resized).call_deferred();
 		} break;
 		} break;