aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMMCPConnection.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-18 09:55:27 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-18 09:55:27 +0000
commita433ccb9b6ddc8de78d06629356d77e657fbc137 (patch)
tree9e095065ea1a953d09c1fe85591788233bd64988 /Source/CMMCPConnection.m
parent66538857ad09c596d39841fdac01406f4b2ce5b3 (diff)
downloadsequelpro-a433ccb9b6ddc8de78d06629356d77e657fbc137.tar.gz
sequelpro-a433ccb9b6ddc8de78d06629356d77e657fbc137.tar.bz2
sequelpro-a433ccb9b6ddc8de78d06629356d77e657fbc137.zip
• added: init consoleLoggingEnabled: for new connection
Diffstat (limited to 'Source/CMMCPConnection.m')
-rw-r--r--Source/CMMCPConnection.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMMCPConnection.m b/Source/CMMCPConnection.m
index 18d89e8b..b976c3a7 100644
--- a/Source/CMMCPConnection.m
+++ b/Source/CMMCPConnection.m
@@ -278,6 +278,9 @@ static void forcePingTimeout(int signalNumber);
[[NSUserDefaults standardUserDefaults] addObserver:self forKeyPath:@"ConsoleEnableLogging" options:NSKeyValueObservingOptionNew context:NULL];
+ // Init 'consoleLoggingEnabled'
+ consoleLoggingEnabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"ConsoleEnableLogging"];
+
return mConnected;
}