aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index b6979dfa..787817bc 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -3267,7 +3267,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
if ([connectionController selectedFavorite]) return;
// Request the connection controller to add its details to favorites
- [connectionController addFavorite:self];
+ [connectionController addFavoriteUsingCurrentDetails:self];
}
/**
@@ -3841,7 +3841,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
{
// If the window is being set for the first time - connection controller is visible - update focus
if (!parentWindow && !mySQLConnection) {
- [aWindow makeFirstResponder:[connectionController valueForKey:@"favoritesTable"]];
+ [aWindow makeFirstResponder:[connectionController valueForKey:@"favoritesOutlineView"]];
[connectionController performSelector:@selector(updateFavoriteSelection:) withObject:self afterDelay:0.0];
}
@@ -4120,12 +4120,12 @@ YY_BUFFER_STATE yy_scan_string (const char *);
[self updateWindowTitle:self];
// Deselect all favorites on the connection controller
- [[connectionController valueForKeyPath:@"favoritesTable"] deselectAll:connectionController];
+ [[connectionController valueForKeyPath:@"favoritesOutlineView"] deselectAll:connectionController];
// Suppress the possibility to choose an other connection from the favorites
// if a connection should initialized by SPF file. Otherwise it could happen
// that the SPF file runs out of sync.
- [[connectionController valueForKeyPath:@"favoritesTable"] setEnabled:NO];
+ [[connectionController valueForKeyPath:@"favoritesOutlineView"] setEnabled:NO];
// Ensure the connection controller is set to a blank slate
[connectionController setName:@""];