summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-02-01 01:37:58 -0500
committerBradley Sepos <[email protected]>2018-03-17 17:01:55 -0400
commit6e044c7715aabdc681a6b4f8c33d141712433cc9 (patch)
treef0a0c1b5502f4d745f2b387c8e5d45306963afee /macosx/HBController.m
parentcb4e6cfd256488910ef8be784d2654204c607ee9 (diff)
MacGUI: Add Delete item to Presets menu.
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];