SL-17924 Don't clear pick's description when clicking on description for the first time

meow-7.2.2
Andrey Kleshchev 2022-08-10 17:24:26 +03:00
parent eab708daed
commit dd4156251b
2 changed files with 0 additions and 5 deletions

View File

@ -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();

View File

@ -242,8 +242,6 @@ protected:
bool mNewPick;
bool mIsEditing;
std::string mCurrentPickDescription;
void onDescriptionFocusReceived();
};