diff options
Diffstat (limited to 'Source/SPConnectionControllerInitializer.m')
-rw-r--r-- | Source/SPConnectionControllerInitializer.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPConnectionControllerInitializer.m b/Source/SPConnectionControllerInitializer.m index 081d07b1..7a50b003 100644 --- a/Source/SPConnectionControllerInitializer.m +++ b/Source/SPConnectionControllerInitializer.m @@ -113,9 +113,9 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; [self performSelector:@selector(_scrollToSelectedNode) withObject:nil afterDelay:0.0]; } - // Set sort items - currentSortItem = [prefs integerForKey:SPFavoritesSortedBy]; - reverseFavoritesSort = [prefs boolForKey:SPFavoritesSortedInReverse]; + // Set sort items + currentSortItem = (SPFavoritesSortItem)[prefs integerForKey:SPFavoritesSortedBy]; + reverseFavoritesSort = [prefs boolForKey:SPFavoritesSortedInReverse]; } return self; |