#4679 Logging for crash on updateMenuOptions
Logs say that viewer closed settings picker and immediately crashed Yet callstack indicates that some inventory was right clicked, which shouldn't be possible if picker already closed. May be some click is closing the picker and opens menu at the same time, but it's better to gather information first.master
parent
95725f709d
commit
e918d240fd
|
|
@ -1510,6 +1510,7 @@ bool LLFolderView::handleRightMouseDown( S32 x, S32 y, MASK mask )
|
|||
&& ( count > 0 && (hasVisibleChildren()) ))) && // show menu only if selected items are visible
|
||||
!hide_folder_menu)
|
||||
{
|
||||
LL_INFOS("Inventory") << "Opening inventory menu from path: " << getPathname() << LL_ENDL;
|
||||
if (mCallbackRegistrar)
|
||||
{
|
||||
mCallbackRegistrar->pushScope();
|
||||
|
|
|
|||
|
|
@ -152,7 +152,11 @@ void LLFloaterSettingsPicker::onClose(bool app_quitting)
|
|||
owner->setFocus(true);
|
||||
}
|
||||
mSettingItemID.setNull();
|
||||
mInventoryPanel->getRootFolder()->clearSelection();
|
||||
mInventoryPanel->clearSelection();
|
||||
if (mInventoryPanel->getRootFolder())
|
||||
{
|
||||
mInventoryPanel->getRootFolder()->clearSelection();
|
||||
}
|
||||
}
|
||||
|
||||
void LLFloaterSettingsPicker::setValue(const LLSD& value)
|
||||
|
|
|
|||
Loading…
Reference in New Issue