aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'TableDocument.m')
-rw-r--r--TableDocument.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/TableDocument.m b/TableDocument.m
index b15006d5..a8d7d326 100644
--- a/TableDocument.m
+++ b/TableDocument.m
@@ -307,6 +307,17 @@ reused when user hits the close button of the variablseSheet or of the createTab
return [keyChainInstance getPasswordForName:keychainName account:keychainAccount];
}
+- (void)connectSheetAddToFavorites:(id)sender
+{
+ [self addToFavoritesHost:[hostField stringValue] socket:[socketField stringValue] user:[userField stringValue] password:[passwordField stringValue] port:[portField stringValue] database:[databaseField stringValue] useSSH:false sshHost:@"" sshUser:@"" sshPassword:@"" sshPort:@""];
+}
+
+- (void)connectSheetRemoveFromFavorites:(id)sender
+{
+ NSBeep();
+ NSLog(@"Remove from favourites is not yet implemented.");
+}
+
/**
* add actual connection to favorites
*/