Просмотр исходного кода

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

Don't auto translate theme type list
Rémi Verschelde 1 год назад
Родитель
Сommit
94a8d37d54
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      editor/plugins/theme_editor_plugin.cpp

+ 1 - 0
editor/plugins/theme_editor_plugin.cpp

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