2
0
Эх сурвалжийг харах

Disable auto translate of FileDialog's file list

Haoyu Qiu 11 сар өмнө
parent
commit
b131476d40

+ 1 - 0
scene/gui/file_dialog.cpp

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