Fixed folder collapse state not being properly restored after clearing search string.

Updated inventory filter classes.
LLInventoryView renamed to LLPanelMainInventory for easier diffing.
This commit is contained in:
Shyotl
2016-05-26 02:22:19 -05:00
parent f89a5aaa27
commit 899ba7fded
29 changed files with 483 additions and 448 deletions

View File

@@ -1254,7 +1254,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam
//highlight item, if it's not in the trash or lost+found
// Don't auto-open the inventory floater
LLInventoryView* view = LLInventoryView::getActiveInventory();
LLPanelMainInventory* view = LLPanelMainInventory::getActiveInventory();
if(!view)
{
return;
@@ -1274,7 +1274,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam
item->getInventoryType() != LLInventoryType::IT_ATTACHMENT &&
!from_name.empty())
{
LLInventoryView::showAgentInventory(TRUE);
LLPanelMainInventory::showAgentInventory(TRUE);
}
if (!gSavedSettings.getBOOL("LiruHighlightNewInventory")) return;