summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor/project_export.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index 4dbd9d500e..bdbb79df6d 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() {