aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPQueryFavoriteManager.m')
-rw-r--r--Source/SPQueryFavoriteManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m
index 17d2a452..32563964 100644
--- a/Source/SPQueryFavoriteManager.m
+++ b/Source/SPQueryFavoriteManager.m
@@ -817,7 +817,7 @@
if (returnCode == NSOKButton) {
- NSString *filename = [[panel filenames] objectAtIndex:0];
+ NSString *filename = [[[panel URLs] objectAtIndex:0] path];
NSError *readError = nil;
NSString *convError = nil;
NSPropertyListFormat format;