Merge pull request #98720 from timothyqiu/file-dialog-atm

Disable auto translation of `FileDialog`'s file list
This commit is contained in:
Thaddeus Crews 2024-11-10 12:12:32 -06:00
commit 792671f4d0
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -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);