File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2425,10 +2425,14 @@ void LLPanelMainInventory::updateCombinationVisibility()
2425
2425
2426
2426
mCombinationGalleryLayoutPanel ->setVisible (!is_gallery_empty);
2427
2427
mCombinationListLayoutPanel ->setVisible (show_inv_pane);
2428
- mCombinationInventoryPanel ->getRootFolder ()-> setForceArrange (!show_inv_pane );
2429
- if ( mCombinationInventoryPanel -> hasVisibleItems () )
2428
+ LLFolderView* root_folder = mCombinationInventoryPanel ->getRootFolder ();
2429
+ if (root_folder )
2430
2430
{
2431
- mForceShowInvLayout = false ;
2431
+ root_folder->setForceArrange (!show_inv_pane);
2432
+ if (mCombinationInventoryPanel ->hasVisibleItems ())
2433
+ {
2434
+ mForceShowInvLayout = false ;
2435
+ }
2432
2436
}
2433
2437
if (is_gallery_empty)
2434
2438
{
You can’t perform that action at this time.
0 commit comments