From 04eee0ac24de1bf1744ed7a8707a847961fe7192 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Thu, 25 Apr 2019 16:07:20 +0300 Subject: SL-11031 [Legacy Profiles] "Drop inventory" field visible for own profile --- indra/newview/llpanelprofile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llpanelprofile.cpp') diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index d40f874f24..6c0b1b9047 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -270,6 +270,7 @@ BOOL LLPanelProfileSecondLife::postBuild() mPayButton = getChild("pay"); mIMButton = getChild("im"); mCopyMenuButton = getChild("copy_btn"); + mGiveInvPanel = getChild("give_stack"); mStatusText->setVisible(FALSE); mCopyMenuButton->setVisible(FALSE); @@ -321,6 +322,7 @@ void LLPanelProfileSecondLife::onOpen(const LLSD& key) mBlockButton->setVisible(!own_profile); mUnblockButton->setVisible(!own_profile); mGroupList->setShowNone(!own_profile); + mGiveInvPanel->setVisible(!own_profile); if (own_profile && !getEmbedded()) { -- cgit v1.3