Refactor some object type checking code with cast_to
Less stringly typed logic, and less String allocations and comparisons.
This commit is contained in:
@@ -1275,8 +1275,6 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||
|
||||
set_hide_on_ok(false);
|
||||
|
||||
editor_icons = "EditorIcons";
|
||||
|
||||
default_filename = EditorSettings::get_singleton()->get_project_metadata("export_options", "default_filename", "");
|
||||
// If no default set, use project name
|
||||
if (default_filename.is_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user