Ah, good call.
This is my initialization code
Lua Code:
function Auras:OnInitialize()
local defaults = SSA.defaults;
local about_panel = LibStub:GetLibrary("LibAboutPanel", true)
if about_panel then
self.optionsFrame = about_panel.new(nil, "ShamanAuras")
end
self.db = LibStub("AceDB-3.0"):New("SSA_db",defaults)
self:SetupOptions()
end
The function that handles removing an item from the table is located in a different file
Lua Code:
local SSA, Auras, L, LSM = unpack(select(2,...))
local function ConstructAuraList()
...
--- this is the button that runs the deletion
removeAura = {
order = 4,
type = "execute",
name = "Remove",
func = function()
tremove(Auras.db.char.auras[spec].groups[grp],j)
end,
width = "half",
}
...
end
It's strange, though. Any changes go through no problem, but deleting part of a table doesn't.