From 765a45a7837fb3d51eac13cd1359ab767c536478 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 29 Apr 2012 10:33:34 +0000 Subject: Restrict favorites import to only plists. --- Source/SPConnectionController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 1a7668fd..af46f564 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -892,7 +892,7 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2, [openPanel beginSheetForDirectory:nil file:nil - types:nil + types:[NSArray arrayWithObject:@"plist"] modalForWindow:[dbDocument parentWindow] modalDelegate:self didEndSelector:@selector(importExportFavoritesSheetDidEnd:returnCode:contextInfo:) -- cgit v1.2.3