diff options
author | Max <post@wickenrode.com> | 2015-07-12 02:27:07 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-07-12 02:27:07 +0200 |
commit | dc1adcaafc3439c1998fdfaf15f0cdeee9be778f (patch) | |
tree | 32e080908ea0c42804f65372fc0b987d06d16173 /Frameworks | |
parent | 1b0938196c23225917b72ea172605adf33d6843d (diff) | |
download | sequelpro-dc1adcaafc3439c1998fdfaf15f0cdeee9be778f.tar.gz sequelpro-dc1adcaafc3439c1998fdfaf15f0cdeee9be778f.tar.bz2 sequelpro-dc1adcaafc3439c1998fdfaf15f0cdeee9be778f.zip |
Fix an issue on 10.7+ introduced in ce33534
This removes a IMHO useless makeFirstResponder: call. In all cases where [NSApp mainWindow] == usedSheet (< 10.7) the call right above it would already handle it. On the other hand if [NSApp mainWindow] != usedSheet (10.7+) the call would fail anyways because in that case editTextView is not even a subview of the main window.
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m index 7cbe384a..6fbf5a86 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m @@ -418,7 +418,7 @@ const char *SPMySQLSSLPermissibleCiphers = "DHE-RSA-AES256-SHA:AES256-SHA:DHE-RS // If a connection is already active in some form, throw an exception if (state != SPMySQLDisconnected && state != SPMySQLConnectionLostInBackground) { - [NSException raise:NSInternalInconsistencyException format:@"Attempted to connect a connection that is not disconnected (%d).", state]; + [NSException raise:NSInternalInconsistencyException format:@"Attempted to connect a connection that is not disconnected (SPMySQLConnectionState=%d).", state]; return NO; } state = SPMySQLConnecting; |