diff options
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 } |