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 903a9fcdc6.
meow-7.2.2
Ansariel 2022-06-03 18:32:52 +02:00
parent bc00cf0735
commit 1ffbc0fefe
1 changed files with 2 additions and 2 deletions

View File

@ -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); // <FS:Ansariel> 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); // <FS:Ansariel> Causes parser error, also unused (uses debug setting instead)
panel->getRootViewModel().getSorter().toParams(p.sort);
if (p.validateBlock(false))
{
LLParamSDParser().writeSD(filterState, p);