From 9f633d9f084dff6af5b3129f19254bb730398250 Mon Sep 17 00:00:00 2001 From: dolphin Date: Mon, 10 Feb 2014 12:11:50 -0800 Subject: Fix hiding of the edit button on non grid-wide experiences. --- indra/newview/llfloaterexperienceprofile.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(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(BTN_EDIT)->getVisible()) + { + topPanel->setVisible(TRUE); + } if(properties & LLExperienceCache::PROPERTY_PRIVILEGED) { -- cgit v1.2.3