diff options
| author | maxim_productengine <mnikolenko@productengine.com> | 2019-06-25 17:54:21 +0300 |
|---|---|---|
| committer | maxim_productengine <mnikolenko@productengine.com> | 2019-06-25 17:54:21 +0300 |
| commit | dbe5eb8a1dc18811f945f689f026cdcf180496dd (patch) | |
| tree | df8571cc64d4d76c8818232a7eeace98b072f174 /indra/newview/llpanelprofile.cpp | |
| parent | 69a85e3ed0960d90c2a093029768a550fb3f591d (diff) | |
SL-11431 [Legacy Profiles] Clicking someone else's profile picture should open image modal.
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
| -rw-r--r-- | indra/newview/llpanelprofile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 472285e3d9..86b6163f45 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -324,6 +324,8 @@ void LLPanelProfileSecondLife::onOpen(const LLSD& key) mGroupList->setShowNone(!own_profile); mGiveInvPanel->setVisible(!own_profile); + mSecondLifePic->setOpenTexPreview(!own_profile); + if (own_profile && !getEmbedded()) { // Group list control cannot toggle ForAgent loading @@ -716,7 +718,6 @@ void LLPanelProfileSecondLife::updateButtons() mShowInSearchCheckbox->setVisible(TRUE); mShowInSearchCheckbox->setEnabled(TRUE); mDescriptionEdit->setEnabled(TRUE); - mSecondLifePic->setEnabled(TRUE); } if (!getSelfProfile()) |
