From 1ffbc0fefe443c04a06580894d0c4e4ad5c5c71f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 3 Jun 2022 18:32:52 +0200 Subject: [PATCH] Revert "Don't store inventory sort order in filters.xml file - LLParamSDParser stumbles over this which was probably the reason the sort order is stored in settings.xml anyways" This reverts commit 903a9fcdc6c81c4daa35497ad1ad95b624c02099. --- indra/newview/llpanelmaininventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 09874717b4..b46d79ac43 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -377,7 +377,7 @@ LLPanelMainInventory::~LLPanelMainInventory( void ) LLSD filterState; LLInventoryPanel::InventoryState p; all_items_panel->getFilter().toParams(p.filter); - //all_items_panel->getRootViewModel().getSorter().toParams(p.sort); // Causes parser error, also unused (uses debug setting instead) + all_items_panel->getRootViewModel().getSorter().toParams(p.sort); if (p.validateBlock(false)) { LLParamSDParser().writeSD(filterState, p); @@ -391,7 +391,7 @@ LLPanelMainInventory::~LLPanelMainInventory( void ) LLSD filterState; LLInventoryPanel::InventoryState p; panel->getFilter().toParams(p.filter); - //panel->getRootViewModel().getSorter().toParams(p.sort); // Causes parser error, also unused (uses debug setting instead) + panel->getRootViewModel().getSorter().toParams(p.sort); if (p.validateBlock(false)) { LLParamSDParser().writeSD(filterState, p);