Skip to content

Commit

Permalink
Merge pull request #80811 from Nolkaloid/root_name_no-translate
Browse files Browse the repository at this point in the history
Disable translation of root name on scene creation
  • Loading branch information
akien-mga committed Aug 21, 2023
2 parents 76a4b5d + 4d13126 commit 5c690c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/scene_create_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 5c690c3

Please sign in to comment.