aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MainController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-06 11:42:47 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-06 11:42:47 +0000
commit7b840caf675ece703faf5a16749b47d1b023bdcd (patch)
treef75b1469e8a399f7dacec9c59ed1e77dc2300f66 /Source/MainController.m
parent6057dffc7574a266f9d2ce0e9f96479c9fb7e472 (diff)
downloadsequelpro-7b840caf675ece703faf5a16749b47d1b023bdcd.tar.gz
sequelpro-7b840caf675ece703faf5a16749b47d1b023bdcd.tar.bz2
sequelpro-7b840caf675ece703faf5a16749b47d1b023bdcd.zip
• added encoding popup list as accessory view for Open spf or sql files
- renamed menu item to Open - if sql file is selected encoding popup list is enabled otherwise not since spf will be encoded in UTF-8
Diffstat (limited to 'Source/MainController.m')
-rw-r--r--Source/MainController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index 17aa2652..1cdc0244 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -77,6 +77,8 @@
// Pass query to the Query editor of the current document
[[[NSDocumentController sharedDocumentController] currentDocument] doPerformLoadQueryService:[self contentOfFile:filename]];
+
+ break; // open only the first SQL file
}
else if([[[filename pathExtension] lowercaseString] isEqualToString:@"spf"]) {