Don't auto translate theme type list

This commit is contained in:
Haoyu Qiu 2023-10-12 10:04:53 +08:00
parent b1371806ad
commit 26b21f110a

View File

@ -3402,6 +3402,7 @@ ThemeTypeEditor::ThemeTypeEditor() {
theme_type_list = memnew(OptionButton); theme_type_list = memnew(OptionButton);
theme_type_list->set_h_size_flags(SIZE_EXPAND_FILL); 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_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);
theme_type_list->set_auto_translate(false);
type_list_hb->add_child(theme_type_list); type_list_hb->add_child(theme_type_list);
theme_type_list->connect("item_selected", callable_mp(this, &ThemeTypeEditor::_list_type_selected)); theme_type_list->connect("item_selected", callable_mp(this, &ThemeTypeEditor::_list_type_selected));