aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index ac7aa50e..e4f75610 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -4541,9 +4541,10 @@ static NSString *SPRenameDatabaseAction = @"SPRenameDatabase";
[self updateWindowTitle:self];
- // Deselect all favorites on the connection controller. This will automatically
- // clear and reset the connection state.
+ // Deselect all favorites on the connection controller,
+ // and clear and reset the connection state.
[[connectionController favoritesOutlineView] deselectAll:connectionController];
+ [connectionController updateFavoriteSelection:self];
// Suppress the possibility to choose an other connection from the favorites
// if a connection should initialized by SPF file. Otherwise it could happen