mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Merge commit godotengine/godot@1f47e4c4e3
This commit is contained in:
@@ -256,7 +256,7 @@ SceneCreateDialog::SceneCreateDialog() {
|
||||
scene_name_edit = memnew(LineEdit);
|
||||
hb->add_child(scene_name_edit);
|
||||
scene_name_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
scene_name_edit->connect("text_submitted", callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
scene_name_edit->connect(SceneStringName(text_submitted), callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
|
||||
List<String> extensions;
|
||||
Ref<PackedScene> sd = memnew(PackedScene);
|
||||
@@ -279,7 +279,7 @@ SceneCreateDialog::SceneCreateDialog() {
|
||||
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_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));
|
||||
root_name_edit->connect(SceneStringName(text_submitted), callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
}
|
||||
|
||||
Control *spacing = memnew(Control);
|
||||
|
||||
Reference in New Issue
Block a user