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:
parent
e773664f26
commit
4a7c19e719
|
@ -100,7 +100,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