summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-01-13 17:19:43 +0100
committerDamiano Galassi <[email protected]>2020-01-13 17:19:43 +0100
commit80127fdb821c1e795b486d957e36bdab3f5de1f6 (patch)
treecab65feadbe05d7d89abf7869245e4a9186d03a9 /macosx/HBPresetsManager.m
parentfce3bbbf92011ee2eb9a3805f6b426ff1ffb6eba (diff)
MacGui: improve presets view to allow multiple selection, drag & drop from and to Finder.
Diffstat (limited to 'macosx/HBPresetsManager.m')
-rw-r--r--macosx/HBPresetsManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPresetsManager.m b/macosx/HBPresetsManager.m
index 4692a37a6..f8aede8a1 100644
--- a/macosx/HBPresetsManager.m
+++ b/macosx/HBPresetsManager.m
@@ -248,7 +248,7 @@ typedef NS_ENUM(NSUInteger, HBPresetLoadingResult) {
- (BOOL)savePresetsToURL:(NSURL *)url
{
- return [self.root writeToURL:url atomically:YES format:HBPresetFormatJson removeRoot:YES];
+ return [self.root writeToURL:url atomically:YES removeRoot:YES error:NULL];
}
- (BOOL)savePresets