aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-04-07 21:49:20 +0000
committerstuconnolly <stuart02@gmail.com>2012-04-07 21:49:20 +0000
commit535ae6f2b8313ea6d5ae2e878dcd17d369807079 (patch)
treea23077fce9643c2827312536722282f7cbe34c10 /Source/SPUserManager.m
parented7a963686d3682eeeb0232df4f3b62921db82c3 (diff)
downloadsequelpro-535ae6f2b8313ea6d5ae2e878dcd17d369807079.tar.gz
sequelpro-535ae6f2b8313ea6d5ae2e878dcd17d369807079.tar.bz2
sequelpro-535ae6f2b8313ea6d5ae2e878dcd17d369807079.zip
Localize user manager dialogs.
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];