Skip to content

Commit

Permalink
Merge pull request #18261 from flashyincceo/export-project-default-fi…
Browse files Browse the repository at this point in the history
…lename

Set default file name for exported projects
  • Loading branch information
akien-mga authored Apr 18, 2018
2 parents 3b1ea51 + bff73bd commit 9ce8d8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions editor/project_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 9ce8d8d

Please sign in to comment.