summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-03 20:25:24 +0200
committerGitHub <noreply@github.com>2018-10-03 20:25:24 +0200
commit89d955615a4e33844d16d77dc62259b866339953 (patch)
tree34a0d3dfdab005b96e58ea9ed94af51410f30044 /editor
parent05fe3121806b66f42e035968560b0fc881c1048d (diff)
parent00616360a35579a40e68b63dd4d938336b136fae (diff)
Merge pull request #22691 from jfmichaud31/fix_export_editor
Fix #22588: missing preset save after removing a export preset.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_export.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index 455c889224..1a6188862f 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -1097,6 +1097,7 @@ Ref<EditorExportPreset> EditorExport::get_export_preset(int p_idx) {
void EditorExport::remove_export_preset(int p_idx) {
export_presets.remove(p_idx);
+ save_presets();
}
void EditorExport::add_export_plugin(const Ref<EditorExportPlugin> &p_plugin) {