Don't bother updating the dirty flag if the profile is not editable.

meow-7.2.2
dolphin 2014-05-12 17:03:10 -07:00
parent bb5e0f7877
commit 1b704efb17
1 changed files with 4 additions and 0 deletions

View File

@ -647,6 +647,10 @@ void LLFloaterExperienceProfile::onFieldChanged()
{
updatePackage();
if(!getChild<LLButton>(BTN_EDIT)->getVisible())
{
return;
}
LLSD::map_const_iterator st = mExperienceDetails.beginMap();
LLSD::map_const_iterator dt = mPackage.beginMap();