diff options
author | Damiano Galassi <[email protected]> | 2020-01-29 15:57:17 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-01-29 15:57:17 +0100 |
commit | 2056dda7f2662d54eb585ca91aa73952dff6b3c9 (patch) | |
tree | c7a83394d8950f2ac8570f37dcf475c3b2cc4cb2 | |
parent | 391c6b6205648d58d684513a093041542c6fd2f7 (diff) |
MacGui: fix unsandboxed build.
-rw-r--r-- | macosx/HBController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m index 6703a492a..cd6a198a0 100644 --- a/macosx/HBController.m +++ b/macosx/HBController.m @@ -194,7 +194,7 @@ static void *HBControllerLogLevelContext = &HBControllerLogLevelContext; _destinationURL = [HBUtilities URLFromBookmark:bookmark]; } #else - _currentDestination = [NSUserDefaults.standardUserDefaults URLForKey:HBLastDestinationDirectoryURL]; + _destinationURL = [NSUserDefaults.standardUserDefaults URLForKey:HBLastDestinationDirectoryURL]; #endif if (!_destinationURL || [NSFileManager.defaultManager fileExistsAtPath:_destinationURL.path isDirectory:nil] == NO) |