aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPConstants.h2
-rw-r--r--Source/SPConstants.m2
-rw-r--r--Source/TableDocument.m2
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];
}
}