Skip to content

Commit 645af49

Browse files
committed
Merge pull request #97488 from KoBeWi/zakaz_tłumaczeń
Disable auto translation in EditorDirDialog
2 parents 8126d81 + 4b734ae commit 645af49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

editor/gui/editor_dir_dialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ EditorDirDialog::EditorDirDialog() {
215215
makedir->connect(SceneStringName(pressed), callable_mp(this, &EditorDirDialog::_make_dir));
216216

217217
tree = memnew(Tree);
218-
vb->add_child(tree);
218+
tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
219219
tree->set_v_size_flags(Control::SIZE_EXPAND_FILL);
220+
vb->add_child(tree);
220221
tree->connect("item_activated", callable_mp(this, &EditorDirDialog::_item_activated));
221222
tree->connect("item_collapsed", callable_mp(this, &EditorDirDialog::_item_collapsed), CONNECT_DEFERRED);
222223

0 commit comments

Comments
 (0)