Enable changing editor language without restart

This commit is contained in:
kobewi 2025-02-07 22:23:14 +01:00
parent cae3d722a3
commit 68d983395f
3 changed files with 13 additions and 9 deletions

View file

@ -770,9 +770,7 @@ void SceneTree::_main_window_focus_in() {
void SceneTree::_notification(int p_notification) {
switch (p_notification) {
case NOTIFICATION_TRANSLATION_CHANGED: {
if (!Engine::get_singleton()->is_editor_hint()) {
get_root()->propagate_notification(p_notification);
}
get_root()->propagate_notification(p_notification);
} break;
case NOTIFICATION_OS_MEMORY_WARNING: