diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-06-20 20:16:55 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-06-20 20:16:55 +0300 |
commit | 750606c7a5ddf5cb8e46609d5715b8892e20d09f (patch) | |
tree | 237e96ae26d49f68870bdfd56aae05575e1e367d | |
parent | ababcc700cc956c4c024f03bf69ca2fdb3e7baed (diff) |
SL-17624 In profiles 'Remove Photo' remains inactive after uploading a photo
-rw-r--r-- | indra/newview/llpanelprofile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index dbb83b0da2..559e6abfdb 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -2141,6 +2141,7 @@ void LLPanelProfileFirstLife::setProfileImageUploading(bool loading) void LLPanelProfileFirstLife::setProfileImageUploaded(const LLUUID &image_asset_id) { mPicture->setValue(image_asset_id); + mImageId = image_asset_id; setProfileImageUploading(false); } @@ -2323,6 +2324,7 @@ void LLPanelProfileFirstLife::resetData() { mDescriptionEdit->setValue(LLStringUtil::null); mPicture->setValue("Generic_Person_Large"); + mImageId = LLUUID::null; mUploadPhoto->setVisible(getSelfProfile()); mChangePhoto->setVisible(getSelfProfile()); |