aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-06-11 22:40:42 +0000
committerrowanbeentje <rowan@beent.je>2009-06-11 22:40:42 +0000
commitfbdd43314fb401f3c563fab3a37e24799d31ef56 (patch)
tree35ab3aa829dbc436cc040da5434c8eb725a0c9d3 /Source/TableDocument.m
parentf75f70ecc3a72e771bee6e1a73944836d0883c53 (diff)
downloadsequelpro-fbdd43314fb401f3c563fab3a37e24799d31ef56.tar.gz
sequelpro-fbdd43314fb401f3c563fab3a37e24799d31ef56.tar.bz2
sequelpro-fbdd43314fb401f3c563fab3a37e24799d31ef56.zip
- Fix saving of SSH tunnel passwords entered in preferences
- Select favourites added in preferences - Scroll to newly added or duplicated favourites in both preferences and connection sheet
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index ef0958ab..d2a24fd3 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -641,6 +641,7 @@ NSString *TableDocumentFavoritesControllerSelectionIndexDidChange = @"TableDocum
- (void)connectSheetAddToFavorites:(id)sender
{
[self addToFavoritesName:[nameField stringValue] host:[hostField stringValue] socket:[socketField stringValue] user:[userField stringValue] password:[passwordField stringValue] port:[portField stringValue] database:[databaseField stringValue] useSSH:([sshCheckbox state] == NSOnState) sshHost:[sshHostField stringValue] sshUser:[sshUserField stringValue] sshPassword:[sshPasswordField stringValue] sshPort:[sshPortField stringValue]];
+ [connectFavoritesTableView scrollRowToVisible:[connectFavoritesTableView selectedRow]];
}
/**