aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2010-02-03 03:37:17 +0000
committermltownsend <mltownsend@gmail.com>2010-02-03 03:37:17 +0000
commit4fe58d39c65438f13398a3617f06e2077840a176 (patch)
tree4d4f27fadedff3e80631240c57d168480b02381e
parent81fbd2ff4021428f90c6da1f4e36dfe84663c9c8 (diff)
downloadsequelpro-4fe58d39c65438f13398a3617f06e2077840a176.tar.gz
sequelpro-4fe58d39c65438f13398a3617f06e2077840a176.tar.bz2
sequelpro-4fe58d39c65438f13398a3617f06e2077840a176.zip
Fixed refresh problem on the schema privs
-rw-r--r--Source/SPUserManager.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index 4b421e07..5a2e779a 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -649,6 +649,9 @@
}
}
[self.managedObjectContext reset];
+ [grantedSchemaPrivs removeAllObjects];
+ [grantedTableView reloadData];
+ [self _initializeAvailablePrivs];
[treeController fetch:nil];
}