diff options
| author | maxim_productengine <mnikolenko@productengine.com> | 2018-07-16 16:07:09 +0300 | 
|---|---|---|
| committer | maxim_productengine <mnikolenko@productengine.com> | 2018-07-16 16:07:09 +0300 | 
| commit | bb6e8372f4c7e0c80d49727a6f509e49a22083ee (patch) | |
| tree | 5a5449b91187a4604ead4e949cc6da3e1bd38705 | |
| parent | dc0bd05717106522eb350b02dbac663eaebb8eef (diff) | |
MAINT-8883 FIXED If someone sends a group notice immediately before you, it wipes out the notice you are writing
| -rw-r--r-- | indra/newview/llpanelgroupnotices.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/indra/newview/llpanelgroupnotices.cpp b/indra/newview/llpanelgroupnotices.cpp index 178b5db6c2..fe49ed0649 100644 --- a/indra/newview/llpanelgroupnotices.cpp +++ b/indra/newview/llpanelgroupnotices.cpp @@ -575,7 +575,10 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg)  	mNoticesList->setNeedsSort(save_sort);  	mNoticesList->updateSort(); -	mNoticesList->selectFirstItem(); +	if (mPanelViewNotice->getVisible()) +	{ +		mNoticesList->selectFirstItem(); +	}  }  void LLPanelGroupNotices::onSelectNotice(LLUICtrl* ctrl, void* data) | 
