summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-26 18:45:53 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-26 18:45:53 +0200
commit645af49919d8149001766d34bd16afa3fc620d57 (patch)
tree47e2e4c35ad087fdaee0320d0da9d7920da52272
parent8126d81d0c9d67eaa88e10a742f202dda6a15117 (diff)
parent4b734aeda96cc6b0bf1c8ea184572790e5f47bf7 (diff)
downloadredot-engine-645af49919d8149001766d34bd16afa3fc620d57.tar.gz
Merge pull request #97488 from KoBeWi/zakaz_tłumaczeń
Disable auto translation in EditorDirDialog
-rw-r--r--editor/gui/editor_dir_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/gui/editor_dir_dialog.cpp b/editor/gui/editor_dir_dialog.cpp
index b677ba1098..23568a3c2a 100644
--- a/editor/gui/editor_dir_dialog.cpp
+++ b/editor/gui/editor_dir_dialog.cpp
@@ -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);