aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPConnectionControllerDelegate.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index 4af4eeda..ee218ba3 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -409,7 +409,7 @@
- (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem
{
NSInteger selectedTabView = [tabView indexOfTabViewItem:tabViewItem];
-
+
// Deselect any selected favorite for manual changes
if (!automaticFavoriteSelection) [favoritesOutlineView deselectAll:self];
automaticFavoriteSelection = NO;
@@ -425,6 +425,9 @@
previousType = selectedTabView;
+ // Enable the add to favorites button
+ [addToFavoritesButton setEnabled:YES];
+
[self _favoriteTypeDidChange];
}