浏览代码

Disable auto translation of flag names in the inspector

Haoyu Qiu 1 月之前
父节点
当前提交
0b156980f3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/inspector/editor_properties.cpp

+ 1 - 0
editor/inspector/editor_properties.cpp

@@ -931,6 +931,7 @@ void EditorPropertyFlags::setup(const Vector<String> &p_options) {
 
 EditorPropertyFlags::EditorPropertyFlags() {
 	vbox = memnew(VBoxContainer);
+	vbox->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
 	add_child(vbox);
 }