summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-02-02 03:50:11 -0500
committerBradley Sepos <[email protected]>2018-03-17 17:01:55 -0400
commitf12d627ab10aeb652bf6a083696efd82327a2c92 (patch)
treefcbdbe57a08012c1155ea2cd21dc50d027b39440
parent2d9ffb3bbf05eea7371effff9ceac0d98895a1d8 (diff)
MacGUI: Set the popover selected preset to the current on make default.
Avoids noop when popover has selected a folder. Only applies to Make Default Preset in the main menu; the popover menu item is disabled when a folder is selected.
-rw-r--r--macosx/HBController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 98be9cda9..b48115efa 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1526,6 +1526,7 @@
- (IBAction)setDefaultPreset:(id)sender
{
+ fPresetsView.selectedPreset = _currentPreset;
[fPresetsView setDefault:sender];
}