summaryrefslogtreecommitdiffstats
path: root/editor/scene_create_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/scene_create_dialog.cpp')
-rw-r--r--editor/scene_create_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_create_dialog.cpp b/editor/scene_create_dialog.cpp
index ef700d8352..4c22b37d9d 100644
--- a/editor/scene_create_dialog.cpp
+++ b/editor/scene_create_dialog.cpp
@@ -275,7 +275,7 @@ SceneCreateDialog::SceneCreateDialog() {
root_name_edit = memnew(LineEdit);
gc->add_child(root_name_edit);
root_name_edit->set_tooltip_text(TTR("When empty, the root node name is derived from the scene name based on the \"editor/naming/node_name_casing\" project setting."));
- root_name_edit->set_auto_translate(false);
+ root_name_edit->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
root_name_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
root_name_edit->connect("text_submitted", callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
}