aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r--Source/SPUserManager.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index 35a97807..ac539624 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -365,8 +365,8 @@ static const NSString *SPTableViewNameColumnID = @"NameColumn";
for (NSDictionary *rowDict in queryResults)
{
- NSManagedObject *dbPriv = [NSEntityDescription insertNewObjectForEntityForName:@"Privileges"
- inManagedObjectContext:[self managedObjectContext]];
+ NSManagedObject *dbPriv = [NSEntityDescription insertNewObjectForEntityForName:@"Privileges" inManagedObjectContext:[self managedObjectContext]];
+
for (NSString *key in rowDict)
{
if ([key hasSuffix:@"_priv"]) {
@@ -440,7 +440,7 @@ static const NSString *SPTableViewNameColumnID = @"NameColumn";
if (coordinator != nil) {
managedObjectContext = [[NSManagedObjectContext alloc] init];
- [managedObjectContext setPersistentStoreCoordinator: coordinator];
+ [managedObjectContext setPersistentStoreCoordinator:coordinator];
}
[[NSNotificationCenter defaultCenter] addObserver:self
@@ -459,7 +459,6 @@ static const NSString *SPTableViewNameColumnID = @"NameColumn";
*/
- (IBAction)doCancel:(id)sender
{
-
// Change the first responder to end editing in any field
[[self window] makeFirstResponder:self];