You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Implement automatic translation for ItemList
This commit is contained in:
@@ -792,6 +792,7 @@ CreateDialog::CreateDialog() {
|
||||
rec_vb->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
|
||||
recent = memnew(ItemList);
|
||||
recent->set_auto_translate(false);
|
||||
rec_vb->add_margin_child(TTR("Recent:"), recent, true);
|
||||
recent->set_allow_reselect(true);
|
||||
recent->connect("item_selected", callable_mp(this, &CreateDialog::_history_selected));
|
||||
|
||||
Reference in New Issue
Block a user