diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-18 01:29:17 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-18 01:29:17 +0000 |
commit | 48f80fe6342b14913ffbebf5449895ff9d5e9af8 (patch) | |
tree | 5b98ec4570c28cc209a4ec701cb9e1aded7ac9d3 /Source/TableDocument.m | |
parent | a8dc3ac2af642fb59c8fbed12c3a28038ef3a175 (diff) | |
download | sequelpro-48f80fe6342b14913ffbebf5449895ff9d5e9af8.tar.gz sequelpro-48f80fe6342b14913ffbebf5449895ff9d5e9af8.tar.bz2 sequelpro-48f80fe6342b14913ffbebf5449895ff9d5e9af8.zip |
- Fix a couple of calls which crashed if the window had already been closed, fixing window close on query startup or after queries; this fixes http://log.sequelpro.com/view/9
- Fix an exception caused in the NavigatorController if the dbstructure has not been fetched yet
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index a262f09d..3a7fd59b 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -3591,6 +3591,7 @@ { [mySQLConnection setDelegate:nil]; if (_isConnected) [self closeConnection]; + else [connectionController cancelConnection]; if ([[[SPQueryController sharedQueryController] window] isVisible]) [self toggleConsole:self]; if ([[[SPNavigatorController sharedNavigatorController] window] isVisible]) [self toggleNavigator:self]; [createTableSyntaxWindow orderOut:nil]; |