aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionControllerDelegate.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-30 12:21:04 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-30 12:21:04 +0000
commitb24cc3f13ae28382f3c278a326c90e635d3b4a7b (patch)
treef00de2e9617c32652dcd3e6157f1c9cc98a9c2a4 /Source/SPConnectionControllerDelegate.m
parentb4a5f241c7a6adfdf1b8f4afb94f8d8c57a5c0a9 (diff)
downloadsequelpro-b24cc3f13ae28382f3c278a326c90e635d3b4a7b.tar.gz
sequelpro-b24cc3f13ae28382f3c278a326c90e635d3b4a7b.tar.bz2
sequelpro-b24cc3f13ae28382f3c278a326c90e635d3b4a7b.zip
• fixed issue for saving spf files if sslCertificateFileLocation is nil
• SPConnectionController - assign favoritesTable to the correct new class SPFavoriteOutlineView (not a NSTableView) - allowed empty selection for SPFavoriteOutlineView [ this fixes mainly the issue to open spfs files ] - moved double-click action to outlineView:shouldEditTableColumn:tableColumn item: to suppress double-click at a group header - re-enabled navigation through the fav outlineView even if the password field is empty - now if the field is empty the user can simply press TAB key move the focus to that field - this fixes issue 799 • minor code cleaning
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r--Source/SPConnectionControllerDelegate.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index 8d3b385d..a2653c5a 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -212,4 +212,13 @@
return (![item nodeIsGroup]);
}
+
+/**
+ * Double-Click opens the connection.
+ */
+- (BOOL)outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn *)tableColumn item:(id)item
+{
+ [self initiateConnection:self];
+ return NO;
+}
@end