From ac57043a34510c0edc9e33e1d95de5e0644207e8 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 (cherry picked from commit 26b21f110a81b893f2f8a064062e16603a501a36) --- 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 6e4b48e40aa..2faa8c895b3 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -3394,6 +3394,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));