SL-192 Edit Experience Profile shows up once an Exp is acquired

meow-7.2.2
andreykproductengine 2015-11-24 20:14:14 +02:00
parent d47870a9c1
commit 16accb650c
1 changed files with 7 additions and 7 deletions

View File

@ -337,7 +337,13 @@ BOOL LLFloaterExperienceProfile::postBuild()
LLEventPumps::instance().obtain("experience_permission").listen(mExperienceId.asString()+"-profile",
boost::bind(&LLFloaterExperienceProfile::experiencePermission, getDerivedHandle<LLFloaterExperienceProfile>(this), _1));
if (mPostEdit && mExperienceId.notNull())
{
mPostEdit = false;
changeToEdit();
}
return TRUE;
}
@ -621,12 +627,6 @@ void LLFloaterExperienceProfile::refreshExperience( const LLSD& experience )
mDirty=false;
mForceClose = false;
getChild<LLButton>(BTN_SAVE)->setEnabled(mDirty);
if (mPostEdit)
{
mPostEdit = false;
changeToEdit();
}
}
void LLFloaterExperienceProfile::setPreferences( const LLSD& content )