Originally Posted by circonian
This may be trivial, but by leaving those out it prevents code from knowing which btn was previously selected & returning to it. By saving the current filter, then reloading it, & then calling ZO_MenuBar_SelectDescriptor(inventory.filterBar, inventory.currentFilter) It returns the menu bar to its previously selected descriptor.
|
Well nevermind on that one, I guess that really doesn't matter because it gets reset in the apply layout
Lua Code:
function ZO_InventoryManager:ApplyBackpackLayout(layoutData)
...
ZO_MenuBar_SelectDescriptor(self.inventories[INVENTORY_BACKPACK].filterBar, ITEMFILTERTYPE_ALL)