Przeglądaj źródła

Fix press save in Import Defaults did not save the changed setting

jsjtxietian 1 rok temu
rodzic
commit
255db4df68
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      editor/import_defaults_editor.cpp

+ 1 - 0
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();
 	}
 }