mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Set default file name for exported projects
(cherry picked from commit bff73bdbf1
)
This commit is contained in:
parent
0d6c64b38a
commit
c20776945d
1 changed files with 4 additions and 0 deletions
|
@ -980,6 +980,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…
Add table
Add a link
Reference in a new issue