diff options
author | James Cook <james@lindenlab.com> | 2009-12-04 10:56:19 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-12-04 10:56:19 -0800 |
commit | fa8b2135f5eaf92b24abe79f908a62e7e2c0a076 (patch) | |
tree | 4262266a4b752a7599170b9a75a60f8d4956cd0b /indra/newview/llfloaterbuyland.cpp | |
parent | 5b695ac56a7fbbb4d1f63bccb0c147c46e56ebcf (diff) | |
parent | ab6134c2310bae6aa68565b6a31093c123713135 (diff) |
merge
Diffstat (limited to 'indra/newview/llfloaterbuyland.cpp')
-rw-r--r-- | indra/newview/llfloaterbuyland.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloaterbuyland.cpp b/indra/newview/llfloaterbuyland.cpp index 59985a61ff..3a8c3ab4d2 100644 --- a/indra/newview/llfloaterbuyland.cpp +++ b/indra/newview/llfloaterbuyland.cpp @@ -494,10 +494,14 @@ void LLFloaterBuyLandUI::updateCovenantInfo() LLViewerRegion* region = LLViewerParcelMgr::getInstance()->getSelectionRegion(); if(!region) return; + U8 sim_access = region->getSimAccess(); + std::string rating = LLViewerRegion::accessToString(sim_access); + LLTextBox* region_name = getChild<LLTextBox>("region_name_text"); if (region_name) { - region_name->setText(region->getName()); + std::string region_name_txt = region->getName() + " ("+rating +")"; + region_name->setText(region_name_txt); } LLTextBox* region_type = getChild<LLTextBox>("region_type_text"); |