diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-06-04 08:55:51 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-06-04 08:55:51 -0700 |
commit | 44ac5dc9377915d5d1a31dc3d52423d07b4d7f02 (patch) | |
tree | e072bd5813671f68b0cbf826ca2936ed3a2b63c0 /indra/newview/llfloaterpreference.cpp | |
parent | f968b6078ba764f9c9ed24be23424b59633cff71 (diff) | |
parent | 15b855409a0ae7588236fe43f4aaa1d5d389b005 (diff) |
Merged from viewer-public
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rw-r--r-- | indra/newview/llfloaterpreference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 593d5c267e..5fbbb2c1a8 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -501,7 +501,7 @@ void LLFloaterPreference::onOpen(const LLSD& key) if (can_choose_maturity) { // if they're not adult or a god, they shouldn't see the adult selection, so delete it - if (!gAgent.isAdult() && !gAgent.isGodlike()) + if (!gAgent.isAdult() && !gAgent.isGodlikeWithoutAdminMenuFakery()) { // we're going to remove the adult entry from the combo LLScrollListCtrl* maturity_list = maturity_combo->findChild<LLScrollListCtrl>("ComboBox"); |