Fix MAINT-8458 causing group notices being lost while composing

meow-7.2.2
Ansariel 2018-07-15 22:17:08 +02:00
parent 8b74d39477
commit e09479b140
1 changed files with 7 additions and 1 deletions

View File

@ -590,7 +590,13 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg)
mNoticesList->setNeedsSort(save_sort);
mNoticesList->updateSort();
mNoticesList->selectFirstItem();
// <FS:Ansariel> Don't do this while composing a new notice or you will lose it
//mNoticesList->selectFirstItem();
if (mPanelViewNotice->getVisible())
{
mNoticesList->selectFirstItem();
}
// </FS:Ansariel>
}
void LLPanelGroupNotices::onSelectNotice(LLUICtrl* ctrl, void* data)