Skip to content

Commit

Permalink
Merge pull request godotengine#97488 from KoBeWi/zakaz_tłumaczeń
Browse files Browse the repository at this point in the history
Disable auto translation in EditorDirDialog
  • Loading branch information
akien-mga committed Sep 26, 2024
2 parents 8126d81 + 4b734ae commit 645af49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editor/gui/editor_dir_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,9 @@ EditorDirDialog::EditorDirDialog() {
makedir->connect(SceneStringName(pressed), callable_mp(this, &EditorDirDialog::_make_dir));

tree = memnew(Tree);
vb->add_child(tree);
tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
tree->set_v_size_flags(Control::SIZE_EXPAND_FILL);
vb->add_child(tree);
tree->connect("item_activated", callable_mp(this, &EditorDirDialog::_item_activated));
tree->connect("item_collapsed", callable_mp(this, &EditorDirDialog::_item_collapsed), CONNECT_DEFERRED);

Expand Down

0 comments on commit 645af49

Please sign in to comment.