Merge pull request #83177 from timothyqiu/the-theme-identity

Don't auto translate theme type list
This commit is contained in:
Rémi Verschelde 2023-10-13 11:44:22 +02:00
commit 94a8d37d54
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

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));