Set default file name for exported projects

This commit is contained in:
Peter Folkins 2018-04-17 16:10:30 -05:00
parent 3da7263920
commit bff73bdbf1

View file

@ -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() {