summaryrefslogtreecommitdiffstats
path: root/macosx/HBAddPresetController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-01-20 12:12:27 +0100
committerDamiano Galassi <[email protected]>2020-01-20 12:12:27 +0100
commit063e587158fead42f198f73fd16f42e091c536f4 (patch)
treedfb3f6910dd69ddcbe03c5a9ee762a794c46988e /macosx/HBAddPresetController.m
parent97424db9a6b116054ec31f4a6f1aee8a95e090da (diff)
MacGui: add a Save menu item in the presets menu to save the changes to the selected preset. Fix a bunch of presets issues and weird behaviour.
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r--macosx/HBAddPresetController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m
index 960697f42..5bbcca0b0 100644
--- a/macosx/HBAddPresetController.m
+++ b/macosx/HBAddPresetController.m
@@ -60,6 +60,7 @@ typedef NS_ENUM(NSUInteger, HBAddPresetControllerMode) {
{
NSParameterAssert(preset);
_mutablePreset = [preset mutableCopy];
+ [_mutablePreset resetBuiltInAndDefaultState];
_manager = manager;
_width = customWidth;
_height = customHeight;