diff options
author | Nolkaloid <noe.le.cam.nlc@gmail.com> | 2023-08-20 11:23:38 +0200 |
---|---|---|
committer | Nolkaloid <noe.le.cam.nlc@gmail.com> | 2023-08-20 11:23:38 +0200 |
commit | 4d13126e3b8f7cab6c938b566710fecf89f702da (patch) | |
tree | 7e229312c9ee7e706c9118006b32b743e9d9074f /editor/scene_create_dialog.cpp | |
parent | 5444afae63f37cb4b890c781e5679a3b7ee5a392 (diff) | |
download | redot-engine-4d13126e3b8f7cab6c938b566710fecf89f702da.tar.gz |
Disable translation of root name on scene creation
Diffstat (limited to 'editor/scene_create_dialog.cpp')
-rw-r--r-- | editor/scene_create_dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_create_dialog.cpp b/editor/scene_create_dialog.cpp index 8f56267123..aac9ca3739 100644 --- a/editor/scene_create_dialog.cpp +++ b/editor/scene_create_dialog.cpp @@ -270,6 +270,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_h_size_flags(Control::SIZE_EXPAND_FILL); root_name_edit->connect("text_submitted", callable_mp(this, &SceneCreateDialog::accept_create).unbind(1)); } |