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 commit44094b0
. (cherry picked from commit4a7c19e719
)
This commit is contained in:
parent
70fb79efa0
commit
7e3d7417e3
|
@ -106,7 +106,6 @@ void EditorExportPreset::update_files_to_export() {
|
||||||
for (int i = 0; i < to_remove.size(); ++i) {
|
for (int i = 0; i < to_remove.size(); ++i) {
|
||||||
selected_files.erase(to_remove[i]);
|
selected_files.erase(to_remove[i]);
|
||||||
}
|
}
|
||||||
EditorExport::singleton->save_presets();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector<String> EditorExportPreset::get_files_to_export() const {
|
Vector<String> EditorExportPreset::get_files_to_export() const {
|
||||||
|
|
Loading…
Reference in New Issue