diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-22 10:59:59 -0400 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-08-09 22:55:08 +0300 |
commit | 9e379a5578f56dca05b303707e150c2de04c0c43 (patch) | |
tree | 548cd0bd348285b6c52de936d298c10d6192459e | |
parent | cc77728ad76e3d9a7df66b159431fd62f39f0ecc (diff) |
Fix nullptr crash in LLInventoryPanel::itemChanged
-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 9dc13bcf09..442da455ef 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); } |