CHUI-234 : Fix crashers in landmarks panel
parent
8fd35a0a08
commit
ec4d1a2450
|
|
@ -651,7 +651,7 @@ void LLLandmarksPanel::onAccordionExpandedCollapsed(const LLSD& param, LLPlacesI
|
|||
// Start background fetch, mostly for My Inventory and Library
|
||||
if (expanded)
|
||||
{
|
||||
const LLUUID &cat_id = mCurrentSelectedList->getRootFolderID();
|
||||
const LLUUID &cat_id = inventory_list->getRootFolderID();
|
||||
// Just because the category itself has been fetched, doesn't mean its child folders have.
|
||||
/*
|
||||
if (!gInventory.isCategoryComplete(cat_id))
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ void LLPlacesInventoryPanel::buildFolderView(const LLInventoryPanel::Params& par
|
|||
p.parent_panel = this;
|
||||
p.allow_multiselect = mAllowMultiSelect;
|
||||
p.use_ellipses = true; // truncate inventory item text so remove horizontal scroller
|
||||
p.view_model = &mInventoryViewModel;
|
||||
mFolderRoot = LLUICtrlFactory::create<LLPlacesFolderView>(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue