aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-05 15:03:28 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-05 15:03:28 +0000
commit4e87089af2ce50364a3e6fcfdf8a3c31e172d8aa (patch)
tree88ff9ede1a8fb612cd4fbf7a4f90b7cbc8f10f34 /Source/SPDatabaseDocument.m
parent93b889667f1b938931b84e8fed07ee58bcba3c8f (diff)
downloadsequelpro-4e87089af2ce50364a3e6fcfdf8a3c31e172d8aa.tar.gz
sequelpro-4e87089af2ce50364a3e6fcfdf8a3c31e172d8aa.tar.bz2
sequelpro-4e87089af2ce50364a3e6fcfdf8a3c31e172d8aa.zip
Apply new favorites outline view patch.
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 43d71b01..2901bcd4 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -3239,7 +3239,7 @@
if ([connectionController selectedFavorite]) return;
// Request the connection controller to add its details to favorites
- [connectionController addFavorite:self];
+ [connectionController addFavoriteUsingCurrentDetails:self];
}
/**
@@ -3813,7 +3813,7 @@
{
// 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];
}
@@ -4092,12 +4092,12 @@
[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:@""];