diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-18 09:55:27 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-18 09:55:27 +0000 |
commit | a433ccb9b6ddc8de78d06629356d77e657fbc137 (patch) | |
tree | 9e095065ea1a953d09c1fe85591788233bd64988 /Source | |
parent | 66538857ad09c596d39841fdac01406f4b2ce5b3 (diff) | |
download | sequelpro-a433ccb9b6ddc8de78d06629356d77e657fbc137.tar.gz sequelpro-a433ccb9b6ddc8de78d06629356d77e657fbc137.tar.bz2 sequelpro-a433ccb9b6ddc8de78d06629356d77e657fbc137.zip |
• added: init consoleLoggingEnabled: for new connection
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMMCPConnection.m | 3 |
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; } |