diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m index 9beff46f2218..64e9a86f6abf 100644 --- a/macosx/HBPreferencesController.m +++ b/macosx/HBPreferencesController.m @@ -187,7 +187,7 @@ + (void)registerUserDefaults NSData *moviesData = nil; NSURL *moviesURL = HBUtilities.defaultDestinationFolderURL; - if (moviesData) + if (moviesURL) { moviesData = [NSKeyedArchiver archivedDataWithRootObject:moviesURL requiringSecureCoding:YES error:NULL]; }