diff options
author | dolphin <dolphin@lindenlab.com> | 2014-02-10 12:11:50 -0800 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2014-02-10 12:11:50 -0800 |
commit | 9f633d9f084dff6af5b3129f19254bb730398250 (patch) | |
tree | 3c34d2fb3a8aa4d88ef7b60508224b44dc15f440 /indra/newview/llfloaterexperienceprofile.cpp | |
parent | 222337807d6cdf1a4c5cc792b5178f8550e0f24e (diff) |
Fix hiding of the edit button on non grid-wide experiences.
Diffstat (limited to 'indra/newview/llfloaterexperienceprofile.cpp')
-rw-r--r-- | indra/newview/llfloaterexperienceprofile.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterexperienceprofile.cpp b/indra/newview/llfloaterexperienceprofile.cpp index 4b6ed393b5..1843d2eb8b 100644 --- a/indra/newview/llfloaterexperienceprofile.cpp +++ b/indra/newview/llfloaterexperienceprofile.cpp @@ -509,7 +509,6 @@ void LLFloaterExperienceProfile::refreshExperience( const LLSD& experience ) enable = getChild<LLCheckBoxCtrl>(EDIT BTN_PRIVATE); enable->set(properties & LLExperienceCache::PROPERTY_PRIVATE); - if(properties & LLExperienceCache::PROPERTY_GRID) { topPanel->setVisible(TRUE); @@ -518,6 +517,10 @@ void LLFloaterExperienceProfile::refreshExperience( const LLSD& experience ) child->setText(LLTrans::getString("GRID_WIDE")); } + if(getChild<LLButton>(BTN_EDIT)->getVisible()) + { + topPanel->setVisible(TRUE); + } if(properties & LLExperienceCache::PROPERTY_PRIVILEGED) { |