summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-03-28 12:23:30 +0100
committerDamiano Galassi <[email protected]>2019-03-28 12:23:30 +0100
commit03b850f956490dbdc604e27d27df86eb2cac1213 (patch)
tree6eec3740265b52c2d700af7677896edc3bb2245f /macosx/HBSubtitlesController.m
parent3641e770f58d88aadba8315d1053e01520c46936 (diff)
MacGui: specify is a path is a folder or not when creating an url.
Diffstat (limited to 'macosx/HBSubtitlesController.m')
-rw-r--r--macosx/HBSubtitlesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBSubtitlesController.m b/macosx/HBSubtitlesController.m
index b9c88e940..58767d7e3 100644
--- a/macosx/HBSubtitlesController.m
+++ b/macosx/HBSubtitlesController.m
@@ -91,7 +91,7 @@
}
else
{
- sourceDirectory = [[NSURL fileURLWithPath:NSHomeDirectory()] URLByAppendingPathComponent:@"Desktop"];
+ sourceDirectory = [[NSURL fileURLWithPath:NSHomeDirectory()] URLByAppendingPathComponent:@"Desktop" isDirectory:YES];
}
panel.directoryURL = sourceDirectory;