From c20776945d9e87e31f57c08172bafd4b217bcc95 Mon Sep 17 00:00:00 2001 From: Peter Folkins Date: Tue, 17 Apr 2018 16:10:30 -0500 Subject: [PATCH] Set default file name for exported projects (cherry picked from commit bff73bdbf199f938acdabfbe560991683c3dad9b) --- editor/project_export.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/project_export.cpp b/editor/project_export.cpp index d15a37a19c3..2cdc69355f2 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -980,6 +980,10 @@ ProjectExportDialog::ProjectExportDialog() { editor_icons = "EditorIcons"; default_filename = EditorSettings::get_singleton()->get_project_metadata("export_options", "default_filename", String()); + + if (default_filename == "") { + default_filename = ProjectSettings::get_singleton()->get("application/config/name"); + } } ProjectExportDialog::~ProjectExportDialog() {