aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-04-29 10:33:34 +0000
committerstuconnolly <stuart02@gmail.com>2012-04-29 10:33:34 +0000
commit765a45a7837fb3d51eac13cd1359ab767c536478 (patch)
tree206c1d6ff69a3a9bb3d4a85d9adb9429024b5ba0
parent170cae4dec439efbc91deaf82b77a2ce92a894eb (diff)
downloadsequelpro-765a45a7837fb3d51eac13cd1359ab767c536478.tar.gz
sequelpro-765a45a7837fb3d51eac13cd1359ab767c536478.tar.bz2
sequelpro-765a45a7837fb3d51eac13cd1359ab767c536478.zip
Restrict favorites import to only plists.
-rw-r--r--Source/SPConnectionController.m2
1 files changed, 1 insertions, 1 deletions
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:)