diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-04-18 16:37:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 16:37:57 +0200 |
commit | 9ce8d8ddda35cda781364e9b648325a2953d3f63 (patch) | |
tree | 5bd828bce25e385e740f4fe9d71d743bc8bd23ec | |
parent | 3b1ea51e4079bd7772cbfad731ef57f49006f461 (diff) | |
parent | bff73bdbf199f938acdabfbe560991683c3dad9b (diff) |
Merge pull request #18261 from flashyincceo/export-project-default-filename
Set default file name for exported projects
-rw-r--r-- | editor/project_export.cpp | 4 |
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() { |