#3440 Crash at updateCombinationVisibility
parent
fa963b6b15
commit
74cdfcefa0
|
|
@ -2425,10 +2425,14 @@ void LLPanelMainInventory::updateCombinationVisibility()
|
|||
|
||||
mCombinationGalleryLayoutPanel->setVisible(!is_gallery_empty);
|
||||
mCombinationListLayoutPanel->setVisible(show_inv_pane);
|
||||
mCombinationInventoryPanel->getRootFolder()->setForceArrange(!show_inv_pane);
|
||||
if(mCombinationInventoryPanel->hasVisibleItems())
|
||||
LLFolderView* root_folder = mCombinationInventoryPanel->getRootFolder();
|
||||
if (root_folder)
|
||||
{
|
||||
mForceShowInvLayout = false;
|
||||
root_folder->setForceArrange(!show_inv_pane);
|
||||
if (mCombinationInventoryPanel->hasVisibleItems())
|
||||
{
|
||||
mForceShowInvLayout = false;
|
||||
}
|
||||
}
|
||||
if(is_gallery_empty)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue