aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesPreferencePane.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFavoritesPreferencePane.m')
-rw-r--r--Source/SPFavoritesPreferencePane.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPFavoritesPreferencePane.m b/Source/SPFavoritesPreferencePane.m
index 07405dd3..7833d923 100644
--- a/Source/SPFavoritesPreferencePane.m
+++ b/Source/SPFavoritesPreferencePane.m
@@ -769,18 +769,18 @@
*/
- (void)_sortFavorites
{
- NSString *sortKey = @"";
+ NSString *sortKey = SPFavoriteNameKey;
switch (currentSortItem)
{
case SPFavoritesSortNameItem:
- sortKey = @"name";
+ sortKey = SPFavoriteNameKey;
break;
case SPFavoritesSortHostItem:
- sortKey = @"host";
+ sortKey = SPFavoriteHostKey;
break;
case SPFavoritesSortTypeItem:
- sortKey = @"type";
+ sortKey = SPFavoriteTypeKey;
break;
}