diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-22 10:59:59 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2024-07-22 10:59:59 -0400 |
commit | d609cbaf54498e685315cffc14cfdeb0c139dcf0 (patch) | |
tree | df2bd776e63db616ef3ed888f4414f5f7479b2ad /indra | |
parent | 3bd774894f651b0f1a300909193af8299fe3dabc (diff) |
Fix nullptr crash in LLInventoryPanel::itemChanged
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 6c58eb2ca4..1a6e25fb0f 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -643,7 +643,7 @@ void LLInventoryPanel::itemChanged(const LLUUID& item_id, U32 mask, const LLInve } // Select any newly created object that has the auto rename at top of folder root set. - if(mFolderRoot.get()->getRoot()->needsAutoRename()) + if(mFolderRoot.get() && mFolderRoot.get()->getRoot()->needsAutoRename()) { setSelection(item_id, false); } |