aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2010-02-02 23:01:36 +0000
committermltownsend <mltownsend@gmail.com>2010-02-02 23:01:36 +0000
commit881f2aa81fc8002ef974ce731a01b407a5a17733 (patch)
tree64560a3fbfeb9f41a0d39721ec1faef2801fc9d0 /Source
parent460ef4a4372874e8c3a7d12f2fe88f92c5a44f01 (diff)
downloadsequelpro-881f2aa81fc8002ef974ce731a01b407a5a17733.tar.gz
sequelpro-881f2aa81fc8002ef974ce731a01b407a5a17733.tar.bz2
sequelpro-881f2aa81fc8002ef974ce731a01b407a5a17733.zip
Moved the schema priv tab over and selected first host if user is selected when tab is selected.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPUserManager.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index e585fce1..4b421e07 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -1074,7 +1074,8 @@
[self _selectParentFromSelection];
}
} else if ([[tabViewItem identifier] isEqualToString:@"Global Privileges"]
- || [[tabViewItem identifier] isEqualToString:@"Resources"]) {
+ || [[tabViewItem identifier] isEqualToString:@"Resources"]
+ || [[tabViewItem identifier] isEqualToString:@"Schema Privileges"]) {
// if the tab is either Global Privs or Resources and we have a user
// selected, then open tree and select first child node.
[self _selectFirstChildOfParentNode];