mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Disable auto translation in EditorDirDialog
This commit is contained in:
parent
a0d1ba4a3d
commit
4b734aeda9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user