aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionControllerDelegate.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-12-19 22:58:58 +0000
committerrowanbeentje <rowan@beent.je>2010-12-19 22:58:58 +0000
commit2a6c654d165c207281d10295ebcc40b3cae864ea (patch)
tree607d987c1970b8afc5ee02e1ca061e5c2dd04e26 /Source/SPConnectionControllerDelegate.m
parentea006519632c5c78bc9af5e87d7f5c60edd17081 (diff)
downloadsequelpro-2a6c654d165c207281d10295ebcc40b3cae864ea.tar.gz
sequelpro-2a6c654d165c207281d10295ebcc40b3cae864ea.tar.bz2
sequelpro-2a6c654d165c207281d10295ebcc40b3cae864ea.zip
- Fix duplicate/parallel connection attempts when double-clicking on the selected favourite in the connection outline view; this addresses Issue #924.
- Correctly restore the interface after an SSH connection attempt fails - Prevent SSH connections from being started twice, eg via return key followed by a double click
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r--Source/SPConnectionControllerDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index a2653c5a..6bb0ee47 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -218,7 +218,7 @@
*/
- (BOOL)outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn *)tableColumn item:(id)item
{
- [self initiateConnection:self];
+ if (!isConnecting) [self initiateConnection:self];
return NO;
}
@end