Add PrefChanged update and add default 'show lowest'
This commit is contained in:
parent
0ff9f94333
commit
64e4420c78
1
core.lua
1
core.lua
|
@ -113,6 +113,7 @@ child['specs'] = {
|
|||
[childName] = {
|
||||
["autorepair"] = true,
|
||||
["listall"] = true,
|
||||
["showlowest"] = true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,9 @@ local addonName, addon = ...
|
|||
local childName = addon['childName']
|
||||
local child = addon[childName]
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale(childName, true)
|
||||
function child:PrefChanged()
|
||||
child.events.UPDATE_INVENTORY_DURABILITY()
|
||||
end
|
||||
local init = {
|
||||
Setup = function(self)
|
||||
local config = LibStub:GetLibrary("zzConfig")
|
||||
|
|
Loading…
Reference in New Issue