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.

(cherry picked from commit 4a7c19e719)
This commit is contained in:
Maganty Rushyendra 2020-06-20 19:45:05 +08:00 committed by Rémi Verschelde
parent 70fb79efa0
commit 7e3d7417e3

View file

@ -106,7 +106,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 {