diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-08-13 13:11:07 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-08-13 13:11:07 +0000 |
commit | efdcfb17f87863fef42f209f72eb4c4ccd888d35 (patch) | |
tree | 91e9f02badaba1b3e00b1988508d462937c56049 /Source/SPDatabaseDocument.m | |
parent | 1b2508ed0b5489ec2abe1dd148d1a208bf67bd40 (diff) | |
download | sequelpro-efdcfb17f87863fef42f209f72eb4c4ccd888d35.tar.gz sequelpro-efdcfb17f87863fef42f209f72eb4c4ccd888d35.tar.bz2 sequelpro-efdcfb17f87863fef42f209f72eb4c4ccd888d35.zip |
• fixed bug while closing a tab to remove the connection from Navigator
• FIRST implementation to allow to drag a table from the Navigator to the connection window's table list to copy this table with content (it works but needs to be improved!)
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 45615c9f..3a0e029d 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -4191,6 +4191,8 @@ return isSaved; } + [[SPNavigatorController sharedNavigatorController] performSelectorOnMainThread:@selector(removeConnection:) withObject:[self connectionID] waitUntilDone:YES]; + // Return YES by default return YES; } @@ -4212,8 +4214,6 @@ object:nil]; - [[SPNavigatorController sharedNavigatorController] performSelectorOnMainThread:@selector(removeConnection:) withObject:[self connectionID] waitUntilDone:YES]; - [mySQLConnection setDelegate:nil]; if (_isConnected) [self closeConnection]; else [connectionController cancelConnection]; |