summaryrefslogtreecommitdiffstats
path: root/editor/plugins/shader_file_editor_plugin.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/plugins/shader_file_editor_plugin.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/plugins/shader_file_editor_plugin.cpp')
-rw-r--r--editor/plugins/shader_file_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/shader_file_editor_plugin.cpp b/editor/plugins/shader_file_editor_plugin.cpp
index 11bec4f61c..d68b3bde14 100644
--- a/editor/plugins/shader_file_editor_plugin.cpp
+++ b/editor/plugins/shader_file_editor_plugin.cpp
@@ -256,6 +256,7 @@ ShaderFileEditor::ShaderFileEditor() {
add_child(main_hs);
versions = memnew(ItemList);
+ versions->set_auto_translate(false);
versions->connect("item_selected", callable_mp(this, &ShaderFileEditor::_version_selected));
versions->set_custom_minimum_size(Size2i(200 * EDSCALE, 0));
main_hs->add_child(versions);