summaryrefslogtreecommitdiffstats
path: root/macosx/HBAddPresetController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r--macosx/HBAddPresetController.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m
index cdc0caf14..ac3ea4829 100644
--- a/macosx/HBAddPresetController.m
+++ b/macosx/HBAddPresetController.m
@@ -8,6 +8,7 @@
#import "HBAddPresetController.h"
#import "HBPreset.h"
+
#include "hb.h"
@interface HBAddPresetController ()
@@ -121,6 +122,8 @@
self.preset.content = [dict copy];
+ [self.preset cleanUp];
+
[[self window] orderOut:nil];
[NSApp endSheet:[self window] returnCode:NSModalResponseContinue];
}