diff options
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 8d35f90b..96554663 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -40,7 +40,7 @@ #import "SPDatabaseData.h" #import "SPStringAdditions.h" #import "SPArrayAdditions.h" -#import "MainController.h" +#import "SPAppController.h" #import "SPExtendedTableInfo.h" #import "SPConnectionController.h" #import "SPHistoryController.h" @@ -1663,7 +1663,7 @@ // return; TableDocument *firstTableDocument; - // Manually open a new document, setting MainController as sender to trigger autoconnection + // Manually open a new document, setting SPAppController as sender to trigger autoconnection if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"DocumentType" error:nil]) { [firstTableDocument setShouldAutomaticallyConnect:NO]; [firstTableDocument initQueryEditorWithString:content]; |