aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-11-12 22:46:43 +0000
committerstuconnolly <stuart02@gmail.com>2010-11-12 22:46:43 +0000
commita3c99039fea0827520aa83e412ce98cf15e3e57d (patch)
tree3f9cc96dbfe306d75788c3c7492a9ad4175890ba /Source/SPFavoritesController.m
parentee921aafce32843327589ac1b5352a3f04b50f01 (diff)
downloadsequelpro-a3c99039fea0827520aa83e412ce98cf15e3e57d.tar.gz
sequelpro-a3c99039fea0827520aa83e412ce98cf15e3e57d.tar.bz2
sequelpro-a3c99039fea0827520aa83e412ce98cf15e3e57d.zip
The favorites controller needs to load favorites into a mutable dictionary.
Diffstat (limited to 'Source/SPFavoritesController.m')
-rw-r--r--Source/SPFavoritesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPFavoritesController.m b/Source/SPFavoritesController.m
index d66f9b72..285cbd90 100644
--- a/Source/SPFavoritesController.m
+++ b/Source/SPFavoritesController.m
@@ -182,7 +182,7 @@ static SPFavoritesController *sharedFavoritesController = nil;
favorites = [[NSDictionary alloc] initWithContentsOfFile:favoritesFile];
}
else {
- NSDictionary *newFavorites = [NSDictionary dictionaryWithObject:[NSDictionary dictionaryWithObjectsAndKeys:NSLocalizedString(@"Favorites", @"favorites label"), SPFavoritesGroupNameKey, [NSArray array], SPFavoriteChildrenKey, nil] forKey:SPFavoritesRootKey];
+ NSDictionary *newFavorites = [NSMutableDictionary dictionaryWithObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:NSLocalizedString(@"Favorites", @"favorites label"), SPFavoritesGroupNameKey, [NSArray array], SPFavoriteChildrenKey, nil] forKey:SPFavoritesRootKey];
NSError *error = nil;
NSString *errorString = nil;