From bff73bdbf199f938acdabfbe560991683c3dad9b 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 --- editor/project_export.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/project_export.cpp b/editor/project_export.cpp index 4dbd9d500ee..bdbb79df6d5 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -986,6 +986,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() {