summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterexperienceprofile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterexperienceprofile.cpp')
-rw-r--r--indra/newview/llfloaterexperienceprofile.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/indra/newview/llfloaterexperienceprofile.cpp b/indra/newview/llfloaterexperienceprofile.cpp
index 4ee31f5df1..197162487d 100644
--- a/indra/newview/llfloaterexperienceprofile.cpp
+++ b/indra/newview/llfloaterexperienceprofile.cpp
@@ -520,13 +520,19 @@ void LLFloaterExperienceProfile::refreshExperience( const LLSD& experience )
enable = getChild<LLCheckBoxCtrl>(EDIT BTN_PRIVATE);
enable->set(properties & LLExperienceCache::PROPERTY_PRIVATE);
+
+ topPanel->setVisible(TRUE);
+ child=getChild<LLTextBox>(TF_GRID_WIDE);
+ child->setVisible(TRUE);
+
if(properties & LLExperienceCache::PROPERTY_GRID)
{
- topPanel->setVisible(TRUE);
- child=getChild<LLTextBox>(TF_GRID_WIDE);
- child->setVisible(TRUE);
- child->setText(LLTrans::getString("GRID_WIDE"));
+ child->setText(LLTrans::getString("Grid-Scope"));
}
+ else
+ {
+ child->setText(LLTrans::getString("Land-Scope"));
+ }
if(getChild<LLButton>(BTN_EDIT)->getVisible())
{