summaryrefslogtreecommitdiffstats
path: root/editor/plugins/shader_file_editor_plugin.cpp
diff options
context:
space:
mode:
authorDennisManaa <dennis.manaa@gmx.net>2023-10-18 21:06:28 +0200
committerDennisManaa <dennis.manaa@gmx.net>2023-10-23 10:14:08 +0200
commit1a1c54283653fa021ab604dbe29396b26c58b5ad (patch)
treee9f32a4dd4ffb8df14b6870aa9187c5a2ed41d02 /editor/plugins/shader_file_editor_plugin.cpp
parent7f884b4e0017368e193d96f425aac6c2d8a86eb0 (diff)
downloadredot-engine-1a1c54283653fa021ab604dbe29396b26c58b5ad.tar.gz
Implement automatic translation for 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);