diff options
author | rowanbeentje <rowan@beent.je> | 2009-12-04 15:44:51 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-12-04 15:44:51 +0000 |
commit | 11eca30d1b8abf87575bb59ef3f1a7e2478ab21a (patch) | |
tree | fd3ae5ba66229cea5fce9bd3881715cdc7b79590 /Frameworks | |
parent | 3a289007e40603f724d27f8ca0824075ad005e79 (diff) | |
download | sequelpro-11eca30d1b8abf87575bb59ef3f1a7e2478ab21a.tar.gz sequelpro-11eca30d1b8abf87575bb59ef3f1a7e2478ab21a.tar.bz2 sequelpro-11eca30d1b8abf87575bb59ef3f1a7e2478ab21a.zip |
- Fix saving of files or images added to the SPFieldEditor
- Fix a couple of memory leaks in the SPFieldEditor
- Fix a crash caused by attempted reselection of databases after disconnection if no database was selected
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m index 07ea4c39..aa5dc842 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m @@ -395,7 +395,7 @@ static BOOL sTruncateLongFieldInLogs = YES; NSString *currentDatabase = nil; // Store the currently selected database and encoding so they can be re-set if reconnection was successful - if (delegate && [delegate respondsToSelector:@selector(onReconnectShouldSelectDatabase:)]) { + if (delegate && [delegate respondsToSelector:@selector(onReconnectShouldSelectDatabase:)] && [delegate onReconnectShouldSelectDatabase:self]) { currentDatabase = [NSString stringWithString:[delegate onReconnectShouldSelectDatabase:self]]; } |