1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #83577 from DennisManaa/fix-translation-for-item-list

Add automatic translation of items to ItemList
This commit is contained in:
Rémi Verschelde
2024-01-04 16:39:36 +01:00
20 changed files with 40 additions and 2 deletions

View File

@@ -1191,6 +1191,7 @@ ProjectExportDialog::ProjectExportDialog() {
preset_vb->add_child(mc);
mc->set_v_size_flags(Control::SIZE_EXPAND_FILL);
presets = memnew(ItemList);
presets->set_auto_translate(false);
SET_DRAG_FORWARDING_GCD(presets, ProjectExportDialog);
mc->add_child(presets);
presets->connect("item_selected", callable_mp(this, &ProjectExportDialog::_edit_preset));