| 1223 | } |
| 1224 | |
| 1225 | void ProjectExportDialog::_patch_delete_confirmed() { |
| 1226 | Ref<EditorExportPreset> current = get_current_preset(); |
| 1227 | ERR_FAIL_COND(current.is_null()); |
| 1228 | |
| 1229 | Vector<String> preset_patches = current->get_patches(); |
| 1230 | if (patch_index < preset_patches.size()) { |
| 1231 | current->remove_patch(patch_index); |
| 1232 | _update_current_preset(); |
| 1233 | } |
| 1234 | } |
| 1235 | |
| 1236 | void ProjectExportDialog::_patch_add_pack_pressed() { |
| 1237 | Ref<EditorExportPreset> current = get_current_preset(); |
nothing calls this directly
no test coverage detected