summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-02-01 02:47:28 -0500
committerBradley Sepos <[email protected]>2018-03-17 17:01:54 -0400
commitcb4e6cfd256488910ef8be784d2654204c607ee9 (patch)
tree93dec2d6f0d3eb0611b1313402d4581a1a224c4d
parent25cf745e35f085cae86bb5f4af2a59248f7a9a4c (diff)
MacGUI: Set the popover selected preset to the current preset on close.
Ensures we operate on the main window's currently selected preset when the popover is closed.
-rw-r--r--macosx/HBController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index df058a065..5c022fa5a 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1395,6 +1395,7 @@
}
else
{
+ fPresetsView.selectedPreset = _currentPreset;
[self.presetsPopover close];
}
}