diff options
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r-- | Source/SPConnectionController.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 41f44a1d..286960bc 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -34,6 +34,8 @@ #import "SPSSHTunnel.h" #import "SPFavoriteNode.h" #import "SPTableTextFieldCell.h" +#import "SPGeneralPreferencePane.h" +#import "SPDatabaseViewController.h" @interface SPConnectionController (PrivateAPI) @@ -85,7 +87,7 @@ */ - (id) initWithDocument:(SPDatabaseDocument *)theTableDocument { - if (self = [super init]) { + if ((self = [super init])) { tableDocument = theTableDocument; databaseConnectionSuperview = [tableDocument databaseView]; databaseConnectionView = [tableDocument valueForKey:@"contentViewSplitter"]; |