Просмотр исходного кода

Fix main editor title after changing language

Haoyu Qiu 2 месяцев назад
Родитель
Сommit
4f6b9af42a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

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