Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Always update the editor inspector on translation change

Michael Alexsander304ea894efb7
diff --git a/editor/inspector/editor_inspector.cpp b/editor/inspector/editor_inspector.cpp
index 4f0d5ffb302..fd92f8cf3a3 100644
--- a/editor/inspector/editor_inspector.cpp
+++ b/editor/inspector/editor_inspector.cpp
@@ -6195,9 +6195,7 @@ void EditorInspector::_clear_current_favorites() {
void EditorInspector::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_TRANSLATION_CHANGED: {
- if (property_name_style == EditorPropertyNameProcessor::STYLE_LOCALIZED) {
- update_tree_pending = true;
- }
+ update_tree_pending = true;
} break;
case NOTIFICATION_THEME_CHANGED: {