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/plugins/theme_editor_plugin.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/plugins/theme_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 8ed00cf542..0db752e771 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -918,6 +918,7 @@ ThemeItemImportTree::ThemeItemImportTree() { add_child(import_main_hb); import_items_tree = memnew(Tree); + import_items_tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); import_items_tree->set_hide_root(true); import_items_tree->set_h_size_flags(Control::SIZE_EXPAND_FILL); import_main_hb->add_child(import_items_tree); @@ -1928,6 +1929,7 @@ ThemeItemEditorDialog::ThemeItemEditorDialog(ThemeTypeEditor *p_theme_type_edito edit_dialog_side_vb->add_child(edit_type_label); edit_type_list = memnew(Tree); + edit_type_list->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); edit_type_list->set_hide_root(true); edit_type_list->set_hide_folding(true); edit_type_list->set_columns(1); @@ -2031,6 +2033,7 @@ ThemeItemEditorDialog::ThemeItemEditorDialog(ThemeTypeEditor *p_theme_type_edito edit_items_remove_all->connect("pressed", callable_mp(this, &ThemeItemEditorDialog::_remove_all_items)); edit_items_tree = memnew(Tree); + edit_items_tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); edit_items_tree->set_v_size_flags(Control::SIZE_EXPAND_FILL); edit_items_tree->set_hide_root(true); edit_items_tree->set_columns(1); |