1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix unexpected auto translation of Tree content

This commit is contained in:
Haoyu Qiu
2024-03-17 16:28:18 +08:00
parent fe01776f05
commit 8cd1ebbd6d
37 changed files with 54 additions and 0 deletions

View File

@@ -557,6 +557,7 @@ PropertySelector::PropertySelector() {
search_box->connect("text_changed", callable_mp(this, &PropertySelector::_text_changed));
search_box->connect("gui_input", callable_mp(this, &PropertySelector::_sbox_input));
search_options = memnew(Tree);
search_options->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
vbc->add_margin_child(TTR("Matches:"), search_options, true);
set_ok_button_text(TTR("Open"));
get_ok_button()->set_disabled(true);