浏览代码

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

Don't auto translate theme type list
Rémi Verschelde 1 年之前
父节点
当前提交
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->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));