2
0

Small main context fix.

This commit is contained in:
Maarten Billemont 2014-06-15 11:56:29 -04:00
parent 5466e48629
commit bb48771989

View File

@ -243,7 +243,7 @@
} );
else
[MPiOSAppDelegate managedObjectContextForMainThreadPerformBlockAndWait:^(NSManagedObjectContext *mainContext) {
MPElementEntity *mainElement = [self mainElement];
MPElementEntity *mainElement = [self elementInContext:mainContext];
self.algorithm = mainElement.algorithm?: MPAlgorithmDefault;
self.activeType = mainElement.type;