diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-06 14:01:30 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-06 14:01:30 +0000 |
commit | 494b4df263e7c73bd7696f54264cdf953c1f6158 (patch) | |
tree | e402e0d2f93f7e833b9d2ec659fec18736d8a438 /Source/MainController.m | |
parent | 7b840caf675ece703faf5a16749b47d1b023bdcd (diff) | |
download | sequelpro-494b4df263e7c73bd7696f54264cdf953c1f6158.tar.gz sequelpro-494b4df263e7c73bd7696f54264cdf953c1f6158.tar.bz2 sequelpro-494b4df263e7c73bd7696f54264cdf953c1f6158.zip |
• enabled "Open" menu item to open SQL files
- lastSqlFileEncoding will be stored in the Preference.plist
- to open SPF files not yet supported
Diffstat (limited to 'Source/MainController.m')
-rw-r--r-- | Source/MainController.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/MainController.m b/Source/MainController.m index 1cdc0244..3f297574 100644 --- a/Source/MainController.m +++ b/Source/MainController.m @@ -73,11 +73,11 @@ [firstTableDocument makeWindowControllers]; [firstTableDocument showWindows]; } - } else - - // Pass query to the Query editor of the current document - [[[NSDocumentController sharedDocumentController] currentDocument] doPerformLoadQueryService:[self contentOfFile:filename]]; - + } else { + // Pass query to the Query editor of the current document + [[[NSDocumentController sharedDocumentController] currentDocument] doPerformLoadQueryService:[self contentOfFile:filename]]; + } + break; // open only the first SQL file } |