Small main context fix.
This commit is contained in:
parent
5466e48629
commit
bb48771989
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user