summaryrefslogtreecommitdiffstats
path: root/editor/dependency_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-04 16:39:36 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-04 16:39:36 +0100
commit5eb22a317d3facd813cb1ebcd32f21e1d5437a38 (patch)
tree28792b5fb9c5b3f3d4225d2fda0a8e8d0d303377 /editor/dependency_editor.cpp
parent52ab49ef1a074d413ead7015b9b66022c50c2afd (diff)
parent1a1c54283653fa021ab604dbe29396b26c58b5ad (diff)
downloadredot-engine-5eb22a317d3facd813cb1ebcd32f21e1d5437a38.tar.gz
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
Add automatic translation of items to ItemList
Diffstat (limited to 'editor/dependency_editor.cpp')
-rw-r--r--editor/dependency_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp
index 26779f5b52..a891491339 100644
--- a/editor/dependency_editor.cpp
+++ b/editor/dependency_editor.cpp
@@ -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));