From 255db4df6850402fe320f4958c0f855f1a2295e1 Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Wed, 1 Nov 2023 15:45:51 +0800 Subject: [PATCH] Fix press save in Import Defaults did not save the changed setting --- editor/import_defaults_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import_defaults_editor.cpp b/editor/import_defaults_editor.cpp index 8288594dff54..569fdc091e88 100644 --- a/editor/import_defaults_editor.cpp +++ b/editor/import_defaults_editor.cpp @@ -109,6 +109,7 @@ void ImportDefaultsEditor::_save() { } else { ProjectSettings::get_singleton()->set("importer_defaults/" + settings->importer->get_importer_name(), Variant()); } + ProjectSettings::get_singleton()->save(); } }