Re-worked the FilterValueMap table - its keys are what were previously its svvals members instead of a numeric index. This means filters can be added and removed on-the-fly without convoluted voodoo or having to remember to manually update a max value.
Re-worked the FilterValueMap table - its keys are what were previously its svvals members instead of a numeric index. This means filters can be added and removed on-the-fly without convoluted voodoo or having to remember to manually update a max value.
Whilst doing this, I found addon.numFilters() and addon.filterSwitch() to be unnecessary functions and integrated their code into addon.resetTitle() and addon:GenericMakeCB(), respectively.