Fix Crash A: mFolders was being used without a null check
This commit is contained in:
@@ -1712,7 +1712,7 @@ void LLPanelObjectInventory::updateInventory()
|
|||||||
// We're still interested in this task's inventory.
|
// We're still interested in this task's inventory.
|
||||||
uuid_set_t selected_items;
|
uuid_set_t selected_items;
|
||||||
BOOL inventory_has_focus = FALSE;
|
BOOL inventory_has_focus = FALSE;
|
||||||
if (mHaveInventory)
|
if (mHaveInventory && mFolders)
|
||||||
{
|
{
|
||||||
selected_items = mFolders->getSelectionList();
|
selected_items = mFolders->getSelectionList();
|
||||||
inventory_has_focus = gFocusMgr.childHasKeyboardFocus(mFolders);
|
inventory_has_focus = gFocusMgr.childHasKeyboardFocus(mFolders);
|
||||||
|
|||||||
Reference in New Issue
Block a user