aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 3b8cde01..23d410e3 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -397,7 +397,7 @@
// Manually open a new document, setting SPAppController as sender to trigger autoconnection
if (firstTableDocument = [[NSDocumentController sharedDocumentController] makeUntitledDocumentOfType:@"SequelPro connection" error:nil]) {
- if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AutoConnectToDefault"]) {
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:SPAutoConnectToDefault]) {
[firstTableDocument setShouldAutomaticallyConnect:YES];
}
[[NSDocumentController sharedDocumentController] addDocument:firstTableDocument];
@@ -553,7 +553,7 @@
/* Support for "make new document"
*/
- (void)insertInOrderedDocuments:(TableDocument *)doc {
- if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AutoConnectToDefault"])
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:SPAutoConnectToDefault])
[doc setShouldAutomaticallyConnect:YES];
[[NSDocumentController sharedDocumentController] addDocument:doc];
[doc makeWindowControllers];