summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterprofile.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-06-03 17:19:05 +0300
committermaxim_productengine <mnikolenko@productengine.com>2019-06-03 17:19:05 +0300
commit023a69720876eaec0135b8536e1945db95336a36 (patch)
tree38b4109721dc4ca438b024865a2e151354b0086b /indra/newview/llfloaterprofile.cpp
parent2216d0fb384532dd6e6b93df64c723bc2de823d0 (diff)
SL-11344 FIXED Private notes are not saved for another avatar
Diffstat (limited to 'indra/newview/llfloaterprofile.cpp')
-rw-r--r--indra/newview/llfloaterprofile.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/llfloaterprofile.cpp b/indra/newview/llfloaterprofile.cpp
index 216bcb0580..f2863e1e27 100644
--- a/indra/newview/llfloaterprofile.cpp
+++ b/indra/newview/llfloaterprofile.cpp
@@ -54,12 +54,6 @@ void LLFloaterProfile::onOpen(const LLSD& key)
{
mPanelProfile->onOpen(key);
- if (mAvatarId == gAgentID)
- {
- getChild<LLUICtrl>("ok_btn")->setVisible(TRUE);
- getChild<LLUICtrl>("cancel_btn")->setVisible(TRUE);
- }
-
// Update the avatar name.
mNameCallbackConnection = LLAvatarNameCache::get(mAvatarId, boost::bind(&LLFloaterProfile::onAvatarNameCache, this, _1, _2));
}
@@ -91,11 +85,7 @@ void LLFloaterProfile::showClassified(const LLUUID& classified_id, bool edit)
void LLFloaterProfile::onOKBtn()
{
- if (mAvatarId == gAgentID)
- {
- mPanelProfile->apply();
- }
-
+ mPanelProfile->apply();
closeFloater();
}