diff options
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]; |