summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Michaud <jfmichaud31@gmail.com>2018-10-03 12:03:03 -0400
committerJean-François Michaud <jfmichaud31@gmail.com>2018-10-03 13:40:16 -0400
commit00616360a35579a40e68b63dd4d938336b136fae (patch)
tree598a09c76c5115d0f3bdb6402e9d6671679ec542
parent344a453bb8905f7c6f8f05d54469955eed9b2818 (diff)
Fix #22588: missing preset save after removing a export preset.
-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) {