Fix overwrite of manual changes in export_presets.cfg when export dialog is opened

Ensures that behavior when export_presets.cfg file is edited manually
while editor is running remains identical to before commit 44094b0.
This commit is contained in:
Maganty Rushyendra 2020-06-20 19:45:05 +08:00
parent e773664f26
commit 4a7c19e719

View file

@ -100,7 +100,6 @@ void EditorExportPreset::update_files_to_export() {
for (int i = 0; i < to_remove.size(); ++i) {
selected_files.erase(to_remove[i]);
}
EditorExport::singleton->save_presets();
}
Vector<String> EditorExportPreset::get_files_to_export() const {