Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@ -1290,7 +1290,7 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||
// If no default set, use project name
|
||||
if (default_filename.is_empty()) {
|
||||
// If no project name defined, use a sane default
|
||||
default_filename = ProjectSettings::get_singleton()->get("application/config/name");
|
||||
default_filename = GLOBAL_GET("application/config/name");
|
||||
if (default_filename.is_empty()) {
|
||||
default_filename = "UnnamedProject";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user