summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 5c022fa5a..5a7f1ce37 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1527,6 +1527,12 @@
fPresetsView.selectedPreset = presetManager.defaultPreset;
}
+- (IBAction)deletePreset:(id)sender
+{
+ HBPreset *preset = [sender representedObject];
+ [fPresetsView deletePreset:preset];
+}
+
- (IBAction)insertCategory:(id)sender
{
[fPresetsView insertCategory:sender];