diff options
author | sr55 <[email protected]> | 2018-01-21 21:32:05 +0000 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-01-25 17:56:42 -0500 |
commit | 2f84d7557955d4346f123b919def5cfc36c9e3f2 (patch) | |
tree | 75196bbeec6253e17eb5009b7482d8aa17936860 /macosx/HBController.m | |
parent | 5bda9c3c8d6f35849f650ab18b7fe5312967b65a (diff) |
MacGui: Add preset reload button.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r-- | macosx/HBController.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m index 2aec9345a..b97490c70 100644 --- a/macosx/HBController.m +++ b/macosx/HBController.m @@ -1435,6 +1435,14 @@ } } +- (void)reloadPreset:(id)sender; +{ + // Reload the currently selected preset if it is selected. + if (self.currentPreset != NULL){ + [self applyPreset:self.currentPreset]; + } +} + - (void)applyPreset:(HBPreset *)preset { NSParameterAssert(preset); |