Fix nullptr crash in LLInventoryPanel::itemChanged

meow-7.2.2
Rye Mutt 2024-07-22 10:59:59 -04:00
parent 3bd774894f
commit d609cbaf54
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}