diff options
author | dolphin <dolphin@lindenlab.com> | 2014-05-12 17:03:10 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2014-05-12 17:03:10 -0700 |
commit | 1b704efb17a2278588146760d189daaffe56d35d (patch) | |
tree | f191e83bc57440fc19ca85e8105d1efbcf133139 /indra | |
parent | bb5e0f7877d06f10cd9ba82bc596a072427306b2 (diff) |
Don't bother updating the dirty flag if the profile is not editable.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloaterexperienceprofile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterexperienceprofile.cpp b/indra/newview/llfloaterexperienceprofile.cpp index 25433f814c..c14d77a944 100644 --- a/indra/newview/llfloaterexperienceprofile.cpp +++ b/indra/newview/llfloaterexperienceprofile.cpp @@ -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(); |