MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _patch_delete_confirmed

Method _patch_delete_confirmed

editor/export/project_export.cpp:1225–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1223}
1224
1225void 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
1236void ProjectExportDialog::_patch_add_pack_pressed() {
1237 Ref<EditorExportPreset> current = get_current_preset();

Callers

nothing calls this directly

Calls 4

get_patchesMethod · 0.80
remove_patchMethod · 0.80
sizeMethod · 0.65
is_nullMethod · 0.45

Tested by

no test coverage detected