diff options
Diffstat (limited to 'Source/SPFavoritesController.m')
-rw-r--r-- | Source/SPFavoritesController.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPFavoritesController.m b/Source/SPFavoritesController.m index f49749c8..2a432326 100644 --- a/Source/SPFavoritesController.m +++ b/Source/SPFavoritesController.m @@ -147,6 +147,8 @@ static SPFavoritesController *sharedFavoritesController = nil; [node setIsGroup:YES]; [self _addNode:node asChildOfNode:parent]; + + [[NSNotificationCenter defaultCenter] postNotificationName:SPConnectionFavoritesChangedNotification object:self]; return node; } @@ -165,6 +167,8 @@ static SPFavoritesController *sharedFavoritesController = nil; [self _addNode:node asChildOfNode:parent]; + [[NSNotificationCenter defaultCenter] postNotificationName:SPConnectionFavoritesChangedNotification object:self]; + return node; } @@ -180,6 +184,8 @@ static SPFavoritesController *sharedFavoritesController = nil; // Save data to disk [self saveFavorites]; + + [[NSNotificationCenter defaultCenter] postNotificationName:SPConnectionFavoritesChangedNotification object:self]; } #pragma mark - |