소스 검색

Disable auto translate of FileDialog's file list

Haoyu Qiu 9 달 전
부모
커밋
b131476d40
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      scene/gui/file_dialog.cpp

+ 1 - 0
scene/gui/file_dialog.cpp

@@ -1586,6 +1586,7 @@ FileDialog::FileDialog() {
 	vbox->add_child(hbc);
 
 	tree = memnew(Tree);
+	tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
 	tree->set_hide_root(true);
 	vbox->add_margin_child(ETR("Directories & Files:"), tree, true);