diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2024-03-23 21:15:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 21:15:39 -0700 |
commit | 05372773e172832a750bf98278d5f816d613c92d (patch) | |
tree | 224cbb37eab2a3595d5d024b2d63dab7e6ecb679 /editor/dependency_editor.cpp | |
parent | 9a8fb26d914192ed0d622614e746a6eb68f5c4f1 (diff) | |
parent | 8cd1ebbd6da7505bfa8a32b1e3c2d0fe5810dba2 (diff) | |
download | redot-engine-05372773e172832a750bf98278d5f816d613c92d.tar.gz |
Merge pull request #89599 from timothyqiu/vegetate
Fix unexpected auto translation of editor `Tree` content
Diffstat (limited to 'editor/dependency_editor.cpp')
-rw-r--r-- | editor/dependency_editor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index 5eccc7673a..a178f8e3ec 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -246,6 +246,7 @@ DependencyEditor::DependencyEditor() { add_child(vb); tree = memnew(Tree); + tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); tree->set_columns(2); tree->set_column_titles_visible(true); tree->set_column_title(0, TTR("Resource")); @@ -672,6 +673,7 @@ DependencyRemoveDialog::DependencyRemoveDialog() { vb->add_child(text); owners = memnew(Tree); + owners->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); owners->set_hide_root(true); vb->add_child(owners); owners->set_v_size_flags(Control::SIZE_EXPAND_FILL); @@ -724,6 +726,7 @@ DependencyErrorDialog::DependencyErrorDialog() { add_child(vb); files = memnew(Tree); + files->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); files->set_hide_root(true); vb->add_margin_child(TTR("Load failed due to missing dependencies:"), files, true); files->set_v_size_flags(Control::SIZE_EXPAND_FILL); @@ -879,6 +882,7 @@ OrphanResourcesDialog::OrphanResourcesDialog() { add_child(vbc); files = memnew(Tree); + files->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); files->set_columns(2); files->set_column_titles_visible(true); files->set_column_custom_minimum_width(1, 100 * EDSCALE); |