mirror of https://github.com/godotengine/godot
Disable auto translate of FileDialog's file list
This commit is contained in:
parent
c6c464cf9a
commit
b131476d40
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue