summaryrefslogtreecommitdiffstats
path: root/editor/input_event_configuration_dialog.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2024-03-17 16:28:18 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2024-03-18 09:31:00 +0800
commit8cd1ebbd6da7505bfa8a32b1e3c2d0fe5810dba2 (patch)
tree5bdd3aeff5a97c2993663bda879f6583558596b7 /editor/input_event_configuration_dialog.cpp
parentfe01776f05b1787b28b4a270d53037a3c25f4ca2 (diff)
downloadredot-engine-8cd1ebbd6da7505bfa8a32b1e3c2d0fe5810dba2.tar.gz
Fix unexpected auto translation of Tree content
Diffstat (limited to 'editor/input_event_configuration_dialog.cpp')
-rw-r--r--editor/input_event_configuration_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/input_event_configuration_dialog.cpp b/editor/input_event_configuration_dialog.cpp
index 451829163c..e2aac6c75d 100644
--- a/editor/input_event_configuration_dialog.cpp
+++ b/editor/input_event_configuration_dialog.cpp
@@ -668,6 +668,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
manual_vbox->add_child(input_list_search);
input_list_tree = memnew(Tree);
+ input_list_tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
input_list_tree->set_custom_minimum_size(Size2(0, 100 * EDSCALE)); // Min height for tree
input_list_tree->connect("item_selected", callable_mp(this, &InputEventConfigurationDialog::_input_list_item_selected));
input_list_tree->set_v_size_flags(Control::SIZE_EXPAND_FILL);