Skip to content

Commit

Permalink
Disable auto translate of FileDialog's file list
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyqiu committed Nov 1, 2024
1 parent c6c464c commit b131476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/gui/file_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b131476

Please sign in to comment.