diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-04-30 16:28:40 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-04-30 16:32:16 +0300 | 
| commit | 59433e3132b057003afcc1ba230ff16ffe62f92c (patch) | |
| tree | 16f94bc4265881544a34388875ff7631004e1e53 /indra/newview | |
| parent | d70b749101f5a954fc824e73519102a0d88f24ae (diff) | |
SL-13119 Made control settings cached and fixed potential filtering issue
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llconversationview.cpp | 12 | 
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/newview/llconversationview.cpp b/indra/newview/llconversationview.cpp index a4affe8006..fda5267041 100644 --- a/indra/newview/llconversationview.cpp +++ b/indra/newview/llconversationview.cpp @@ -430,7 +430,11 @@ void LLConversationViewSession::refresh()  	// Refresh the session view from its model data  	LLConversationItem* vmi = dynamic_cast<LLConversationItem*>(getViewModelItem());  	vmi->resetRefresh(); -	 + +    mLabel = vmi->getDisplayName(); // needs a filter reset +    setToolTip(vmi->getName()); +    vmi->dirtyFilter(); +  	if (mSessionTitle)  	{  		mSessionTitle->setText(vmi->getDisplayName()); @@ -621,7 +625,11 @@ void LLConversationViewParticipant::refresh()  	// *TODO: We should also do something with vmi->isModerator() to echo that state in the UI somewhat  	mSpeakingIndicator->setIsModeratorMuted(participant_model->isModeratorMuted()); -	 + +    mLabel = participant_model->getDisplayName(); // needs a filter reset +    setToolTip(participant_model->getName()); +    participant_model->dirtyFilter(); +  	// Do the regular upstream refresh  	LLFolderViewItem::refresh();  }  | 
