mirror of
https://github.com/transmission/transmission
synced 2025-03-04 02:28:03 +00:00
save the groups right away when upgrading from an old archived version
This commit is contained in:
parent
1d51d28198
commit
c9d6ddf244
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ GroupsController * fGroupsInstance = nil;
|
||||||
{
|
{
|
||||||
fGroups = [[NSUnarchiver unarchiveObjectWithData: data] retain];
|
fGroups = [[NSUnarchiver unarchiveObjectWithData: data] retain];
|
||||||
[[NSUserDefaults standardUserDefaults] removeObjectForKey: @"Groups"];
|
[[NSUserDefaults standardUserDefaults] removeObjectForKey: @"Groups"];
|
||||||
|
[self saveGroups];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue