summaryrefslogtreecommitdiffstats
path: root/editor/editor_sectioned_inspector.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2024-03-17 16:28:18 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2024-03-18 09:31:00 +0800
commit8cd1ebbd6da7505bfa8a32b1e3c2d0fe5810dba2 (patch)
tree5bdd3aeff5a97c2993663bda879f6583558596b7 /editor/editor_sectioned_inspector.cpp
parentfe01776f05b1787b28b4a270d53037a3c25f4ca2 (diff)
downloadredot-engine-8cd1ebbd6da7505bfa8a32b1e3c2d0fe5810dba2.tar.gz
Fix unexpected auto translation of Tree content
Diffstat (limited to 'editor/editor_sectioned_inspector.cpp')
-rw-r--r--editor/editor_sectioned_inspector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp
index 8d1f97f6b1..8e8908faaf 100644
--- a/editor/editor_sectioned_inspector.cpp
+++ b/editor/editor_sectioned_inspector.cpp
@@ -331,6 +331,7 @@ SectionedInspector::SectionedInspector() :
left_vb->set_custom_minimum_size(Size2(190, 0) * EDSCALE);
add_child(left_vb);
+ sections->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
sections->set_v_size_flags(SIZE_EXPAND_FILL);
sections->set_hide_root(true);