diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-03-07 23:02:24 +0200 | 
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-03-11 11:09:59 +0200 | 
| commit | 8d00744998419edc4726ad57c874e6fa7415c80c (patch) | |
| tree | 66b33591ae7436127f9ce9047573c56e83bf068a /indra/newview | |
| parent | 44fa0c438ae36528b812237488dcbf51f10708e0 (diff) | |
#3699 Crash at finishRenamingItem
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index a5b4db0580..5bd2a53e7c 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -2030,7 +2030,11 @@ void LLPanelMainInventory::onVisibilityChange( bool new_visibility )          {              menu->setVisible(false);          } -        getActivePanel()->getRootFolder()->finishRenamingItem(); +        LLFolderView* root_folder = mActivePanel ? mActivePanel->getRootFolder() : nullptr; +        if (root_folder) +        { +            root_folder->finishRenamingItem(); +        }      }  } | 
