summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupnotices.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-07-16 16:07:09 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-07-16 16:07:09 +0300
commitbb6e8372f4c7e0c80d49727a6f509e49a22083ee (patch)
tree5a5449b91187a4604ead4e949cc6da3e1bd38705 /indra/newview/llpanelgroupnotices.cpp
parentdc0bd05717106522eb350b02dbac663eaebb8eef (diff)
MAINT-8883 FIXED If someone sends a group notice immediately before you, it wipes out the notice you are writing
Diffstat (limited to 'indra/newview/llpanelgroupnotices.cpp')
-rw-r--r--indra/newview/llpanelgroupnotices.cpp5
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)