diff options
author | stuconnolly <stuart02@gmail.com> | 2009-10-27 14:29:13 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-10-27 14:29:13 +0000 |
commit | 787dbdc988bb62c63f9fd01d42d4f5c0fa00bdfd (patch) | |
tree | d718d0df2f06c325286aa5f7443f519cfd08eacd /Source | |
parent | 800d4b17b5f7031c56984dc57f4aacd6a5256562 (diff) | |
download | sequelpro-787dbdc988bb62c63f9fd01d42d4f5c0fa00bdfd.tar.gz sequelpro-787dbdc988bb62c63f9fd01d42d4f5c0fa00bdfd.tar.bz2 sequelpro-787dbdc988bb62c63f9fd01d42d4f5c0fa00bdfd.zip |
Fix incorrectly named preference constant.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPConstants.h | 2 | ||||
-rw-r--r-- | Source/SPConstants.m | 2 | ||||
-rw-r--r-- | Source/TableDocument.m | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h index 420d1823..4830351c 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -90,7 +90,7 @@ extern NSString *SPConsoleEnableLogging; extern NSString *SPConsoleEnableInterfaceLogging; extern NSString *SPConsoleEnableCustomQueryLogging; extern NSString *SPConsoleEnableImportExportLogging; -extern NSString *SPEnableErrorLogging; +extern NSString *SPConsoleEnableErrorLogging; extern NSString *SPConsoleShowTimestamps; extern NSString *SPConsoleShowSelectsAndShows; extern NSString *SPConsoleShowHelps; diff --git a/Source/SPConstants.m b/Source/SPConstants.m index 91ae17b1..39d0d705 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -73,7 +73,7 @@ NSString *SPConsoleEnableLogging = @"ConsoleEnableLogging"; NSString *SPConsoleEnableInterfaceLogging = @"ConsoleEnableInterfaceLogging"; NSString *SPConsoleEnableCustomQueryLogging = @"ConsoleEnableCustomQueryLogging"; NSString *SPConsoleEnableImportExportLogging = @"ConsoleEnableImportExportLogging"; -NSString *SPEnableErrorLogging = @"EnableErrorLogging"; +NSString *SPConsoleEnableErrorLogging = @"ConsoleEnableErrorLogging"; NSString *SPConsoleShowTimestamps = @"ConsoleShowTimestamps"; NSString *SPConsoleShowSelectsAndShows = @"ConsoleShowSelectsAndShows"; NSString *SPConsoleShowHelps = @"ConsoleShowHelps"; diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 21e12919..ed5f86a6 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -3377,7 +3377,7 @@ */ - (void)queryGaveError:(NSString *)error connection:(id)connection { - if ([prefs boolForKey:SPConsoleEnableLogging] && [prefs boolForKey:SPEnableErrorLogging]) { + if ([prefs boolForKey:SPConsoleEnableLogging] && [prefs boolForKey:SPConsoleEnableErrorLogging]) { [[SPQueryController sharedQueryController] showErrorInConsole:error]; } } |