Merge pull request #18261 from flashyincceo/export-project-default-filename
Set default file name for exported projects
This commit is contained in:
commit
9ce8d8ddda
1 changed files with 4 additions and 0 deletions
|
@ -986,6 +986,10 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||||
editor_icons = "EditorIcons";
|
editor_icons = "EditorIcons";
|
||||||
|
|
||||||
default_filename = EditorSettings::get_singleton()->get_project_metadata("export_options", "default_filename", String());
|
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() {
|
ProjectExportDialog::~ProjectExportDialog() {
|
||||||
|
|
Loading…
Reference in a new issue