aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionControllerDelegate.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-07-27 00:43:43 +0000
committerrowanbeentje <rowan@beent.je>2011-07-27 00:43:43 +0000
commit189b2854d91b34a309ab93bfe4a06d1bd225a5b1 (patch)
tree9975bd858bca126628f7b6302f3b20cb8acc97fd /Source/SPConnectionControllerDelegate.m
parentbf22d64062ed030d75fe0c69c8997d74ce072ff1 (diff)
downloadsequelpro-189b2854d91b34a309ab93bfe4a06d1bd225a5b1.tar.gz
sequelpro-189b2854d91b34a309ab93bfe4a06d1bd225a5b1.tar.bz2
sequelpro-189b2854d91b34a309ab93bfe4a06d1bd225a5b1.zip
- Prevent error bell when using the enter key to initiate a connection when keyboard focus is on the favorites outline view (Issue #1072)
- Don't initiate a connection when the currently selected favorite is clicked again slowly - Match compiler #ifdef around braces to imrpove Xcode 3 file parsing
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r--Source/SPConnectionControllerDelegate.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index ab4b4c27..85ddedab 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -200,11 +200,10 @@
/**
- * Double-Click opens the connection.
+ * Prevent editing of outline view rows
*/
- (BOOL)outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn *)tableColumn item:(id)item
{
- if (!isConnecting) [self initiateConnection:self];
return NO;
}
@end