summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofile.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-04-25 16:07:20 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-04-25 16:07:20 +0300
commit04eee0ac24de1bf1744ed7a8707a847961fe7192 (patch)
tree95009750efe0065f453f2e94defaa558e3e3ac22 /indra/newview/llpanelprofile.cpp
parent6d64ba263079546198bd8c4e1890eb39c4eb3a0c (diff)
SL-11031 [Legacy Profiles] "Drop inventory" field visible for own profile
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rw-r--r--indra/newview/llpanelprofile.cpp2
1 files changed, 2 insertions, 0 deletions
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<LLButton>("pay");
mIMButton = getChild<LLButton>("im");
mCopyMenuButton = getChild<LLMenuButton>("copy_btn");
+ mGiveInvPanel = getChild<LLPanel>("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())
{