diff options
author | Oz Linden <oz@lindenlab.com> | 2012-01-23 14:14:57 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-01-23 14:14:57 -0500 |
commit | 37e04247d9d9e455289c86fe88c07c5398b0dde7 (patch) | |
tree | ebd0669a6448a7c05cb1b6ddcf903f1768da24ce /indra/newview/llfloaterland.cpp | |
parent | 79f1cd0a73bd86ff545ad78b9b1878e350d77416 (diff) | |
parent | 7bc4085eb2275c84eb482ba1f5b8426f1ac6ba5f (diff) |
merge changes for storm-1788
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r-- | indra/newview/llfloaterland.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index b13a9aab88..05c4903cba 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -2475,27 +2475,6 @@ void LLPanelLandAccess::refresh() mListBanned->addNameItem(entry.mID, ADD_DEFAULT, TRUE, suffix); } } - - LLCheckBoxWithTBAcess* maturity_checkbox = (LLCheckBoxWithTBAcess*) getChild<LLCheckBoxCtrl>( "public_access"); - LLViewerRegion* region = LLViewerParcelMgr::getInstance()->getSelectionRegion(); - if(region) - { - LLTextBox* maturity_textbox = maturity_checkbox->getTextBox(); - insert_maturity_into_textbox(maturity_textbox, gFloaterView->getParentFloater(this), getString("allow_public_access")); - maturity_checkbox->reshape(maturity_checkbox->getRect().getWidth(), maturity_checkbox->getRect().getHeight(), FALSE); - } - else - { - std::string maturity_string = getString("allow_public_access"); - size_t maturity_pos = maturity_string.find(MATURITY); - - if (maturity_pos != std::string::npos) - { - maturity_string.replace(maturity_pos, MATURITY.length(), std::string("")); - } - - maturity_checkbox->setLabel(maturity_string); - } if(parcel->getRegionDenyAnonymousOverride()) { |