From 26b21f110a81b893f2f8a064062e16603a501a36 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 12 Oct 2023 10:04:53 +0800 Subject: [PATCH] Don't auto translate theme type list --- editor/plugins/theme_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 9ba5f2faf1d0..9ea0a03e6849 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -3402,6 +3402,7 @@ ThemeTypeEditor::ThemeTypeEditor() { theme_type_list = memnew(OptionButton); theme_type_list->set_h_size_flags(SIZE_EXPAND_FILL); theme_type_list->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS); + theme_type_list->set_auto_translate(false); type_list_hb->add_child(theme_type_list); theme_type_list->connect("item_selected", callable_mp(this, &ThemeTypeEditor::_list_type_selected));