diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2026-03-05 19:21:20 +0200 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-03-06 03:41:56 +0200 |
| commit | bb69f7e5ac190b6783ed1a4a306ea34172b69601 (patch) | |
| tree | adced6945ee90919f9cc788b3317d478fcb7ff20 | |
| parent | ba92b8d503d3976124b7583e878566d0107123ed (diff) | |
#5497 Handle a case of missing files in conversation view
According to logs multiple files are missing/failed to parse, inform user about the need to reinstall
| -rw-r--r-- | indra/newview/llconversationview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llconversationview.cpp b/indra/newview/llconversationview.cpp index 2297fddf0c..117bfbf64c 100644 --- a/indra/newview/llconversationview.cpp +++ b/indra/newview/llconversationview.cpp @@ -217,6 +217,12 @@ bool LLConversationViewSession::postBuild() LLFolderViewItem::postBuild(); mItemPanel = LLUICtrlFactory::getInstance()->createFromFile<LLPanel>("panel_conversation_list_item.xml", NULL, LLPanel::child_registry_t::instance()); + + if (!mItemPanel) + { + LLError::LLUserWarningMsg::showMissingFiles(); + LL_ERRS() << "Failed to construct mItemPanel from panel_conversation_list_item.xml" << LL_ENDL; + } addChild(mItemPanel); mCallIconLayoutPanel = mItemPanel->getChild<LLPanel>("call_icon_panel"); |
