diff options
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r-- | Source/SPConnectionController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index ce2acd3f..f8e9db18 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1153,7 +1153,7 @@ } /** - * + * Builds a tree structure from the user's connection favorties by wrapping them in SPFavoriteNode instances. */ - (void)_buildFavoritesTree { @@ -1161,12 +1161,12 @@ favoritesRoot = [[SPFavoriteNode alloc] init]; + // Add a dummy item to represent the favorites heading SPFavoriteNode *favoritesNode = [[SPFavoriteNode alloc] init]; [favoritesNode setIsGroup:YES]; [favoritesNode setFavorite:[NSDictionary dictionaryWithObject:NSLocalizedString(@"FAVORITES", @"Favorites title at the top of the sidebar") forKey:@"name"]]; - for (NSDictionary *favorite in favorites) { SPFavoriteNode *node2 = [[SPFavoriteNode alloc] init]; |