mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Implement automatic translation for ItemList
This commit is contained in:
parent
7f884b4e00
commit
1a1c542836
20 changed files with 40 additions and 2 deletions
|
@ -398,6 +398,7 @@ DependencyEditorOwners::DependencyEditorOwners() {
|
|||
file_options->connect("id_pressed", callable_mp(this, &DependencyEditorOwners::_file_option));
|
||||
|
||||
owners = memnew(ItemList);
|
||||
owners->set_auto_translate(false);
|
||||
owners->set_select_mode(ItemList::SELECT_MULTI);
|
||||
owners->connect("item_clicked", callable_mp(this, &DependencyEditorOwners::_list_rmb_clicked));
|
||||
owners->connect("item_activated", callable_mp(this, &DependencyEditorOwners::_select_file));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue