diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-08-10 17:24:26 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-08-10 17:24:26 +0300 |
commit | dd4156251b0ad18f283d1b79a692c8a4a76c0900 (patch) | |
tree | 3b5fb39af52e3d2dfc79b8ba9dc03646838daaf4 /indra/newview | |
parent | eab708daed3c5c0873c3fb96cd2d716e2ecb9ff1 (diff) |
SL-17924 Don't clear pick's description when clicking on description for the first time
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelprofilepicks.cpp | 3 | ||||
-rw-r--r-- | indra/newview/llpanelprofilepicks.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llpanelprofilepicks.cpp b/indra/newview/llpanelprofilepicks.cpp index 8896c3d238..cf693f41b2 100644 --- a/indra/newview/llpanelprofilepicks.cpp +++ b/indra/newview/llpanelprofilepicks.cpp @@ -459,7 +459,6 @@ LLPanelProfilePick::LLPanelProfilePick() , mRequestedId(LLUUID::null) , mLocationChanged(false) , mNewPick(false) - , mCurrentPickDescription("") , mIsEditing(false) { } @@ -579,7 +578,6 @@ void LLPanelProfilePick::onDescriptionFocusReceived() { mIsEditing = true; mPickDescription->setParseHTML(false); - setPickDesc(mCurrentPickDescription); } } @@ -614,7 +612,6 @@ void LLPanelProfilePick::processProperties(const LLPickData* pick_info) setPickName(pick_info->name); setPickDesc(pick_info->desc); setPosGlobal(pick_info->pos_global); - mCurrentPickDescription = pick_info->desc; // Send remote parcel info request to get parcel name and sim (region) name. sendParcelInfoRequest(); diff --git a/indra/newview/llpanelprofilepicks.h b/indra/newview/llpanelprofilepicks.h index 8973b37d16..f84463cc9b 100644 --- a/indra/newview/llpanelprofilepicks.h +++ b/indra/newview/llpanelprofilepicks.h @@ -242,8 +242,6 @@ protected: bool mNewPick; bool mIsEditing; - std::string mCurrentPickDescription; - void onDescriptionFocusReceived(); }; |