Merge pull request #108396 from timothyqiu/editor-title
Fix main editor title after changing language
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user