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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterexperienceprofile.cpp b/indra/newview/llfloaterexperienceprofile.cpp
index fd0f7aee1d..e5574be4f0 100644
--- a/indra/newview/llfloaterexperienceprofile.cpp
+++ b/indra/newview/llfloaterexperienceprofile.cpp
@@ -508,7 +508,7 @@ void LLFloaterExperienceProfile::refreshExperience( const LLSD& experience )
setEditGroup(id);
- getChild<LLButton>(BTN_SET_GROUP)->setEnabled(experience[LLExperienceCache::AGENT_ID].asUUID() == gAgent->getID());
+ getChild<LLButton>(BTN_SET_GROUP)->setEnabled(experience[LLExperienceCache::AGENT_ID].asUUID() == gAgent.getID());
LLCheckBoxCtrl* enable = getChild<LLCheckBoxCtrl>(EDIT BTN_ENABLE);
S32 properties = mExperienceDetails[LLExperienceCache::PROPERTIES].asInteger();
@@ -947,4 +947,5 @@ void LLFloaterExperienceProfile::setEditGroup( LLUUID group_id )
std::string value = LLSLURL("group", group_id, "inspect").getSLURLString();
child->setText(value);
mPackage[LLExperienceCache::GROUP_ID] = group_id;
+ onFieldChanged();
}